-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
50 lines (46 loc) · 1.19 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
40
41
42
43
44
45
46
47
48
49
50
repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.6.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
- repo: https://github.com/asottile/seed-isort-config
rev: v2.2.0
hooks:
- id: seed-isort-config
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
args: [
--line-length=100,
--multi-line=3,
--profile=black
]
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
args: [
--line-length=100
]
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: v1.7.0
# hooks:
# - id: mypy
# additional_dependencies: [tokenize-rt==5.2.0, pandas-stubs==2.1.1.230928, types-click==7.1.8]
# args: [
# --strict, # Note: try not to remove strict type checking
# --ignore-missing-imports
# ]
# log_file: mypy.log
- repo: https://github.com/pycqa/flake8
rev: 7.1.1
hooks:
- id: flake8
args: [
--max-line-length=100,
--extend-ignore=E203
]
log_file: flake8.log