File tree 1 file changed +17
-3
lines changed 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,22 @@ repos:
18
18
- id : debug-statements
19
19
- id : fix-byte-order-marker
20
20
- id : end-of-file-fixer
21
- exclude : ' static'
22
21
- id : fix-encoding-pragma
22
+ exclude : |
23
+ (?x)^(
24
+ readthedocs/rtd_tests/files/conf.py|
25
+ )$
23
26
args : ['--remove']
24
27
- id : check-merge-conflict
25
28
- id : check-symlinks
26
29
- id : trailing-whitespace
30
+ exclude : |
31
+ (?x)^(
32
+ docs/.+/locale/.*\.po|
33
+ .+\.svg|
34
+ .+\.js|
35
+ .+\.css|
36
+ )$
27
37
- id : mixed-line-ending
28
38
args : ['--fix=lf']
29
39
49
59
- --die-on-tool-error
50
60
exclude : |
51
61
(?x)^(
52
- .*/docs/.*|
62
+ docs/.*|
63
+ common/.*|
53
64
.*/settings/.*|
54
- .*/common/.*|
55
65
.*/rtd_tests/.*|
56
66
.*/tests/.*|
57
67
.*/migrations/.*
@@ -74,6 +84,10 @@ repos:
74
84
# darker is not compatible with v22.1.0
75
85
# https://github.com/akaihola/darker/issues/264
76
86
- black==21.12b0
87
+ exclude : |
88
+ (?x)^(
89
+ readthedocs/rtd_tests/files/conf.py|
90
+ )$
77
91
78
92
- repo : https://github.com/asottile/blacken-docs
79
93
rev : v1.12.1
You can’t perform that action at this time.
0 commit comments