|
15 | 15 | # E133 closing bracket is missing indentation
|
16 | 16 | # E223 tab before operator
|
17 | 17 | # E224 tab after operator
|
| 18 | +# E242 tab after ',' |
| 19 | +# E266 too many leading '#' for block comment |
18 | 20 | # E271 multiple spaces after keyword
|
19 | 21 | # E272 multiple spaces before keyword
|
20 | 22 | # E273 tab after keyword
|
21 | 23 | # E274 tab before keyword
|
22 | 24 | # E275 missing whitespace after keyword
|
23 | 25 | # E304 blank lines found after function decorator
|
24 | 26 | # E306 expected 1 blank line before a nested definition
|
| 27 | +# E401 multiple imports on one line |
| 28 | +# E402 module level import not at top of file |
25 | 29 | # E502 the backslash is redundant between brackets
|
| 30 | +# E701 multiple statements on one line (colon) |
26 | 31 | # E702 multiple statements on one line (semicolon)
|
27 | 32 | # E703 statement ends with a semicolon
|
28 | 33 | # E714 test for object identity should be "is not"
|
29 | 34 | # E721 do not compare types, use "isinstance()"
|
30 | 35 | # E741 do not use variables named "l", "O", or "I"
|
31 | 36 | # E742 do not define classes named "l", "O", or "I"
|
32 | 37 | # E743 do not define functions named "l", "O", or "I"
|
| 38 | +# E901 SyntaxError: invalid syntax |
| 39 | +# E902 TokenError: EOF in multi-line string |
33 | 40 | # F401 module imported but unused
|
34 | 41 | # F402 import module from line N shadowed by loop variable
|
35 | 42 | # F404 future import(s) name after other statements
|
|
49 | 56 | # F707 an except: block as not the last exception handler
|
50 | 57 | # F811 redefinition of unused name from line N
|
51 | 58 | # F812 list comprehension redefines 'foo' from line N
|
| 59 | +# F821 undefined name 'Foo' |
52 | 60 | # F822 undefined name name in __all__
|
53 | 61 | # F823 local variable name … referenced before assignment
|
54 | 62 | # F831 duplicate argument name in function definition
|
55 | 63 | # F841 local variable 'foo' is assigned to but never used
|
56 | 64 | # W292 no newline at end of file
|
| 65 | +# W293 blank line contains whitespace |
57 | 66 | # W504 line break after binary operator
|
58 | 67 | # W601 .has_key() is deprecated, use "in"
|
59 | 68 | # W602 deprecated form of raising exception
|
60 | 69 | # W603 "<>" is deprecated, use "!="
|
61 | 70 | # W604 backticks are deprecated, use "repr()"
|
62 | 71 | # W605 invalid escape sequence "x"
|
| 72 | +# W606 'async' and 'await' are reserved keywords starting with Python 3.7 |
63 | 73 |
|
64 |
| -flake8 --ignore=B,C,E,F,I,N,W --select=E112,E113,E115,E116,E125,E131,E133,E223,E224,E271,E272,E273,E274,E275,E304,E306,E502,E702,E703,E714,E721,E741,E742,E743,F401,F402,F404,F406,F407,F601,F602,F621,F622,F631,F701,F702,F703,F704,F705,F706,F707,F811,F812,F822,F823,F831,F841,W292,W504,W601,W602,W603,W604,W605 . |
| 74 | +flake8 --ignore=B,C,E,F,I,N,W --select=E112,E113,E115,E116,E125,E131,E133,E223,E224,E242,E266,E271,E272,E273,E274,E275,E304,E306,E401,E402,E502,E701,E702,E703,E714,E721,E741,E742,E743,F401,E901,E902,F402,F404,F406,F407,F601,F602,F621,F622,F631,F701,F702,F703,F704,F705,F706,F707,F811,F812,F821,F822,F823,F831,F841,W292,W293,W504,W601,W602,W603,W604,W605,W606 . |
0 commit comments