-
Notifications
You must be signed in to change notification settings - Fork 11
/
.pre-commit-config.yaml
46 lines (43 loc) · 1.09 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
repos:
- repo: https://github.com/humitos/mirrors-autoflake
rev: v1.1
hooks:
- id: autoflake
args: ['-i', '--remove-all-unused-imports']
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
args: ['-l', '120']
- repo: https://github.com/asottile/blacken-docs
rev: 1.13.0
hooks:
- id: blacken-docs
additional_dependencies: [black]
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
name: isort (python)
args: [
'--force-single-line-imports',
'--profile', 'black'
]
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
args: [
'--max-line-length', '120',
'--max-doc-length', '120',
'--ignore', 'F821,E402,W503',
'--extend-ignore', 'E203'
]
- repo: https://github.com/Carreau/velin
rev: 0.0.11
hooks:
- id: velin
name: Velin
entry: velin
types: [ python ]
args: ["--write"]