1
1
[flake8]
2
2
# temporarily disable violations for existing code until they are cleaned up
3
- ignore =
3
+ extend- ignore =
4
4
# E101: indentation contains mixed spaces and tabs
5
5
E101,
6
6
# E111: indentation is not a multiple of 4
@@ -13,18 +13,12 @@ ignore =
13
13
E116,
14
14
# E117: over-indented
15
15
E117,
16
- # E121: continuation line under-indented for hanging indent
17
- E121,
18
16
# E122: continuation line missing indentation or outdented
19
17
E122,
20
- # E123: closing bracket does not match indentation of opening bracket's line
21
- E123,
22
18
# E124: closing bracket does not match visual indentation
23
19
E124,
24
20
# E125: continuation line with same indent as next logical line
25
21
E125,
26
- # E126: continuation line over-indented for hanging indent
27
- E126,
28
22
# E127: continuation line over-indented for visual indent
29
23
E127,
30
24
# E128: continuation line under-indented for visual indent
@@ -45,14 +39,10 @@ ignore =
45
39
E222,
46
40
# E225: missing whitespace around operator
47
41
E225,
48
- # E226: missing whitespace around arithmetic operator
49
- E226,
50
42
# E228: missing whitespace around modulo operator
51
43
E228,
52
44
# E231: missing whitespace after ','
53
45
E231,
54
- # E241: multiple spaces after ':'
55
- E241,
56
46
# E251: unexpected spaces around keyword / parameter equals
57
47
E251,
58
48
# E261: at least two spaces before inline comment
@@ -99,8 +89,6 @@ ignore =
99
89
F632,
100
90
# F706: 'return' outside function
101
91
F706,
102
- # F811: redefinition of unused 'StringIO' from line 27
103
- F811,
104
92
# F812: list comprehension redefines 'service' from line 446
105
93
F812,
106
94
# F821: undefined name 'Report'
@@ -117,10 +105,6 @@ ignore =
117
105
W293,
118
106
# W391: blank line at end of file
119
107
W391,
120
- # W503: line break before binary operator
121
- W503,
122
- # W504: line break after binary operator
123
- W504,
124
108
# W601: .has_key() is deprecated, use 'in'
125
109
W601,
126
110
# W605: invalid escape sequence '\d'
0 commit comments