Last active
October 4, 2018 17:45
-
-
Save adamloving/76c7a12aebcbb6a73b3f5c1549430e13 to your computer and use it in GitHub Desktop.
flake8 python linting configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# on macOS, put this in ~/.config/flake8 | |
[flake8] | |
max-line-length=88 | |
ignore= | |
#E302 expected 2 blank lines, found 1 | |
E302, | |
#E261 at least two spaces before inline comment | |
E261, | |
# E401 multiple imports on one line | |
E401, | |
# E221 multiple spaces before operator | |
E221, | |
# E201 whitespace after '{' | |
# E201, E202, | |
E241 multiple spaces after ':' | |
E241, | |
# E701 multiple statements on one line (colon) | |
E701 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I currently do:
E128,E241,E251,E501,E265,E261,W293,E303,W291,W391,E702,E302,D100,D101,D102,D103,D200,D201,D210,D203,D204,D400,D401,D205,E111
Need to revisit & document each; I accumulated these over a long period of time and several projects and no longer remember what each does!