-
Notifications
You must be signed in to change notification settings - Fork 54
/
.pre-commit-config.yaml
37 lines (36 loc) · 1.23 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
repos:
- repo: https://github.com/python/black
rev: 21.12b0
hooks:
- id: black
types_or: [ python, pyi ]
exclude: '^.+?\.template$'
additional_dependencies: ['click==8.0.4']
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
exclude: |
(?x)(
^.+?\.template$|
.*examples.*
)
#exclude: '^.+?\.template$'
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: trailing-whitespace
exclude: '^.+?\.template$'
- id: check-yaml
exclude: '^.+?\.template$'
- id: check-added-large-files
exclude: '^.+?\.template$'
- id: debug-statements
exclude: '^.+?\.template$'
- id: end-of-file-fixer
exclude: '^.+?(\.json|\.template)$'
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.6.0
hooks:
- id: reorder-python-imports
exclude: '^.+?\.template$'