|
| 1 | +[flake8] |
| 2 | +exclude = |
| 3 | + .git, |
| 4 | + __pycache__, |
| 5 | + build, |
| 6 | + dist, |
| 7 | + examples, |
| 8 | + autotest |
| 9 | +ignore = |
| 10 | + # https://flake8.pycqa.org/en/latest/user/error-codes.html |
| 11 | + F401, # 'module' imported but unused |
| 12 | + # https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes |
| 13 | + E121, # continuation line under-indented for hanging indent |
| 14 | + E122, # continuation line missing indentation or outdented |
| 15 | + E126, # continuation line over-indented for hanging indent |
| 16 | + E127, # continuation line over-indented for visual indent |
| 17 | + E128, # continuation line under-indented for visual indent |
| 18 | + E203, # whitespace before |
| 19 | + E221, # multiple spaces before operator |
| 20 | + E222, # multiple spaces after operator |
| 21 | + E226, # missing whitespace around arithmetic operator |
| 22 | + E231, # missing whitespace after ',' |
| 23 | + E241, # multiple spaces after ',' |
| 24 | + E402, # module level import not at top of file |
| 25 | + E501, # line too long (> 79 characters) |
| 26 | + E502, # backslash is redundant between brackets |
| 27 | + E722, # do not use bare 'except' |
| 28 | + E741, # ambiguous variable name |
| 29 | + W291, # trailing whitespace |
| 30 | + W292, # no newline at end of file |
| 31 | + W293, # blank line contains whitespace |
| 32 | + W391, # blank line at end of file |
| 33 | + W503, # line break before binary operator |
| 34 | + W504 # line break after binary operator |
| 35 | + |
| 36 | +statistics = True |
0 commit comments