File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/pre-commit/pre-commit-hooks
3
- rev : v1.4 .0
3
+ rev : v2.0 .0
4
4
hooks :
5
5
- id : check-added-large-files
6
6
exclude : partsapp\/static\/highcharts\/highcharts\.src\.js$
@@ -10,9 +10,10 @@ repos:
10
10
- id : end-of-file-fixer
11
11
- id : trailing-whitespace
12
12
- id : requirements-txt-fixer
13
+ - id : flake8
13
14
exclude : migrations\/[^/]*\.py$|settings\/[^/]*\.py|highcharts\/$|docs\/conf\.py
14
15
- repo : https://github.com/Lucas-C/pre-commit-hooks
15
- rev : v1.1.5
16
+ rev : v1.1.6
16
17
hooks :
17
18
- id : forbid-crlf
18
19
exclude : \.csv$|\.png$|\.bat$
@@ -24,14 +25,11 @@ repos:
24
25
- id : python-import-sorter
25
26
exclude : migrations\/[^/]*\.py$|docs\/conf\.py
26
27
- repo : https://github.com/prettier/prettier
27
- rev : 1.14.0
28
+ rev : 1.14.2
28
29
hooks :
29
30
- id : prettier
30
- types : [file]
31
- files : \.(css|less|scss|ts|tsx|graphql|gql|json|js|jsx)$
32
- exclude : \.min\.(js|css)$|^parts/apps/partsapp/static/highcharts
33
31
- repo : https://github.com/ambv/black
34
- rev : stable
32
+ rev : 18.9b0
35
33
hooks :
36
34
- id : black
37
35
language_version : python3.7
Original file line number Diff line number Diff line change @@ -24,3 +24,6 @@ addopts=--reuse-db
24
24
testpaths =django_pgtree
25
25
python_files =*_tests.py tests.py
26
26
python_paths =testproject/
27
+
28
+ [flake8]
29
+ max_line_length = 88
You can’t perform that action at this time.
0 commit comments