|
30 | 30 |
|
31 | 31 | ENABLED = (
|
32 | 32 | 'E101,' # indentation contains mixed spaces and tabs
|
33 |
| - 'E112,' # expected an indented block |
34 |
| - 'E113,' # unexpected indentation |
35 |
| - 'E115,' # expected an indented block (comment) |
36 |
| - 'E116,' # unexpected indentation (comment) |
37 |
| - 'E125,' # continuation line with same indent as next logical line |
38 |
| - 'E129,' # visually indented line with same indent as next logical line |
39 |
| - 'E131,' # continuation line unaligned for hanging indent |
40 |
| - 'E133,' # closing bracket is missing indentation |
41 |
| - 'E223,' # tab before operator |
42 |
| - 'E224,' # tab after operator |
43 |
| - 'E242,' # tab after ',' |
44 |
| - 'E266,' # too many leading '#' for block comment |
45 |
| - 'E271,' # multiple spaces after keyword |
46 |
| - 'E272,' # multiple spaces before keyword |
47 |
| - 'E273,' # tab after keyword |
48 |
| - 'E274,' # tab before keyword |
49 |
| - 'E275,' # missing whitespace after keyword |
50 |
| - 'E304,' # blank lines found after function decorator |
51 |
| - 'E306,' # expected 1 blank line before a nested definition |
52 | 33 | 'E401,' # multiple imports on one line
|
53 | 34 | 'E402,' # module level import not at top of file
|
54 |
| - 'E502,' # the backslash is redundant between brackets |
55 | 35 | 'E701,' # multiple statements on one line (colon)
|
56 | 36 | 'E702,' # multiple statements on one line (semicolon)
|
57 | 37 | 'E703,' # statement ends with a semicolon
|
|
74 | 54 | 'F631,' # assertion test is a tuple, which are always True
|
75 | 55 | 'F632,' # use ==/!= to compare str, bytes, and int literals
|
76 | 56 | 'F811,' # redefinition of unused name from line N
|
77 |
| - 'F812,' # list comprehension redefines 'foo' from line N |
78 | 57 | 'F821,' # undefined name 'Foo'
|
79 | 58 | 'F822,' # undefined name name in __all__
|
80 | 59 | 'F823,' # local variable name … referenced before assignment
|
|
0 commit comments