-
Notifications
You must be signed in to change notification settings - Fork 879
/
.pre-commit-config.yaml
39 lines (39 loc) · 1.04 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
exclude: |
(?x)
.html$|.csv$|.svg$|.md$|.txt$|.json$|.xml$|.pickle$|^.github/|
(LICENSE.*|README.*)
repos:
- repo: https://github.com/kynan/nbstripout
rev: 0.5.0
hooks:
- id: nbstripout
entry: nbstripout
language: python
types: [jupyter]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/MarcoGorelli/absolufy-imports
rev: v0.3.1
hooks:
- id: absolufy-imports
files: ^featuretools/
- repo: https://github.com/asottile/add-trailing-comma
rev: v2.2.3
hooks:
- id: add-trailing-comma
name: Add trailing comma
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.3.3'
hooks:
- id: ruff
types_or: [ python, pyi, jupyter ]
args:
- --fix
- --config=./pyproject.toml
- id: ruff-format
types_or: [ python, pyi, jupyter ]
args:
- --config=./pyproject.toml