|
| 1 | +[flake8] |
| 2 | +max-line-length = 88 |
| 3 | +max-complexity = 15 |
| 4 | +extend-ignore = |
| 5 | + # E101: Indentation contains mixed spaces and tabs |
| 6 | + E101 |
| 7 | + # E111: Indentation is not a multiple of four |
| 8 | + E111 |
| 9 | + # E112: Expected an indented block |
| 10 | + E112 |
| 11 | + # E113: Unexpected indentation |
| 12 | + E113 |
| 13 | + # E114: Indentation is not a multiple of four (comment) |
| 14 | + E114 |
| 15 | + # E115: Expected an indented block (comment) |
| 16 | + E115 |
| 17 | + # E116: Unexpected indentation (comment) |
| 18 | + E116 |
| 19 | + # E117: Over-indented |
| 20 | + E117 |
| 21 | + # E121: Continuation line under-indented for hanging indent |
| 22 | + E121 |
| 23 | + # E122: Continuation line missing indentation or outdented |
| 24 | + E122 |
| 25 | + # E123: Closing bracket does not match indentation of opening bracket's line |
| 26 | + E123 |
| 27 | + # E124: Closing bracket does not match visual indentation |
| 28 | + E124 |
| 29 | + # E125: Continuation line with same indent as next logical line |
| 30 | + E125 |
| 31 | + # E126: Continuation line over-indented for hanging indent |
| 32 | + E126 |
| 33 | + # E127: Continuation line over-indented for visual indent |
| 34 | + E127 |
| 35 | + # E128: Continuation line under-indented for visual indent |
| 36 | + E128 |
| 37 | + # E129: Visually indented line with same indent as next logical line |
| 38 | + E129 |
| 39 | + # E131: Continuation line unaligned for hanging indent |
| 40 | + E131 |
| 41 | + # E133: Closing bracket is missing indentation |
| 42 | + E133 |
| 43 | + # E201: Whitespace after '(' |
| 44 | + E201, |
| 45 | + # E202: Whitespace before ')' |
| 46 | + E202, |
| 47 | + # E203: Whitespace before ':' |
| 48 | + E203, |
| 49 | + # E211: Whitespace before '(' |
| 50 | + E211, |
| 51 | + # E221: Multiple spaces before operator |
| 52 | + E221, |
| 53 | + # E222: Multiple spaces after operator |
| 54 | + E222, |
| 55 | + # E223: Tab before operator |
| 56 | + E223, |
| 57 | + # E224: Tab after operator |
| 58 | + E224, |
| 59 | + # E225: Missing whitespace around operator |
| 60 | + E225, |
| 61 | + # E226: Missing whitespace around arithmetic operator |
| 62 | + E226, |
| 63 | + # E227: Missing whitespace around bitwise or shift operator |
| 64 | + E227, |
| 65 | + # E228: Missing whitespace around modulo operator |
| 66 | + E228, |
| 67 | + # E231: Missing whitespace after ',', ';', or ':' |
| 68 | + E231, |
| 69 | + # E241: Multiple spaces after ',' |
| 70 | + E241, |
| 71 | + # E242: Tab after ',' |
| 72 | + E242, |
| 73 | + # E251: Unexpected spaces around keyword / parameter equals |
| 74 | + E251, |
| 75 | + # E261: At least two spaces before inline comment |
| 76 | + E261, |
| 77 | + # E262: Inline comment should start with '# ' |
| 78 | + E262, |
| 79 | + # E265: Block comment should start with '# ' |
| 80 | + E265, |
| 81 | + # E266: Too many leading '#' for block comment |
| 82 | + E266, |
| 83 | + # E271: Multiple spaces after keyword |
| 84 | + E271, |
| 85 | + # E272: Multiple spaces before keyword |
| 86 | + E272, |
| 87 | + # E273: Tab after keyword |
| 88 | + E273, |
| 89 | + # E274: Tab before keyword |
| 90 | + E274, |
| 91 | + # E275: Missing whitespace after keyword |
| 92 | + E275, |
| 93 | + # E301: Expected 1 blank line, found 0 |
| 94 | + E301, |
| 95 | + # E302: Expected 2 blank lines, found 0 |
| 96 | + E302, |
| 97 | + # E303: Too many blank lines (3) |
| 98 | + E303, |
| 99 | + # E304: Blank lines found after function decorator |
| 100 | + E304, |
| 101 | + # E305: Expected 2 blank lines after end of function or class |
| 102 | + E305, |
| 103 | + # E306: Expected 1 blank line before a nested definition |
| 104 | + E306, |
| 105 | + # E401: Multiple imports on one line |
| 106 | + E401, |
| 107 | + # E704: multiple statements on one line (def) |
| 108 | + E704, |
| 109 | + # E203: whitespace before ':' |
| 110 | + E203, |
| 111 | + # W191: Indentation contains tabs |
| 112 | + W191, |
| 113 | + # W291: Trailing whitespace |
| 114 | + W291, |
| 115 | + # W292: No newline at end of file |
| 116 | + W292, |
| 117 | + # W293: Blank line contains whitespace |
| 118 | + W293, |
| 119 | + # W391: Blank line at end of file |
| 120 | + W391, |
| 121 | + # W503: line break before binary operator |
| 122 | + W503, |
| 123 | + # W504: line break after binary operator |
| 124 | + W504, |
| 125 | + # F401: imported but unused |
| 126 | + F401, |
| 127 | + # F841: local variable is assigned to but never used |
| 128 | + F841 |
0 commit comments