File tree 1 file changed +29
-8
lines changed
1 file changed +29
-8
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
- - repo : https://github.com/pre-commit/pre-commit-hooks
3
- rev : e19917ae62c365d4d746fa9639c7506435bcf1c8
2
+ - repo : https://github.com/PyCQA/flake8
3
+ rev : ' 5.0.4 ' # pick a git hash / tag to point to
4
4
hooks :
5
- - id : trailing-whitespace
6
5
- id : flake8
7
- args :
8
- - --exclude=*/*migrations/*, testproject/testproject/settings/*
6
+ args : ["--max-line-length=213", "--extend-ignore=E203", "--max-complexity=10"]
7
+ exclude : " ^(.*/migrations/|testproject/testproject/settings/)"
8
+ - repo : https://github.com/pre-commit/pre-commit-hooks
9
+ rev : v4.3.0
10
+ hooks :
11
+ - id : trailing-whitespace
12
+ exclude : |
13
+ (?x)^(
14
+ .tx/|
15
+ test-project/testapp/static/testapp/js/.*
16
+ test-project/testapp/static/testapp/css/.*
17
+ )$
9
18
- id : check-added-large-files
10
19
- id : debug-statements
11
20
- id : end-of-file-fixer
12
- - repo : https://github.com/asottile/reorder_python_imports
13
- rev : v3.8.5
21
+ exclude : |
22
+ (?x)^(
23
+ .tx/|
24
+ test-project/testapp/static/testapp/js/.*
25
+ test-project/testapp/static/testapp/css/.*
26
+ .*\.map
27
+ )$
28
+ - repo : https://github.com/psf/black
29
+ rev : 22.10.0
30
+ hooks :
31
+ - id : black
32
+ language_version : python3
33
+
34
+ - repo : https://github.com/asottile/reorder_python_imports
35
+ rev : v3.9.0
14
36
hooks :
15
37
- id : reorder-python-imports
16
- language_version : python3
You can’t perform that action at this time.
0 commit comments