-
Notifications
You must be signed in to change notification settings - Fork 237
/
Copy pathpycodestyle.cfg
24 lines (22 loc) · 1.21 KB
/
pycodestyle.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Pycodestyle configuration options
# Ignore these warnings and errors:
# - W291 trailing whitespace (generated)
# - E501 line too long (generated)
# - E402 module import not at top level (useful for examples)
# - W391 blank line at end of file (generated)
# - E703 statement ends in a semicolon (we need this for non-text output)
# - W503 line break before binary operator (we want this rather than after binary operators)
# - W504 line break after binary operator (frequently generated by autopep8)
# - E722 do not use bare 'except' (we use this to illustrate a problem)
# - E30* various blank line counts (generated)
# - E266 too many leading '#' for block comment
# - E702 multiple statements on one line (semicolon)
# - W293 blank line contains whitespace
# - E301 expected 1 blank line, found 0
# - E121 continuation line under-indented for hanging indent
# - E126 continuation line over-indented for hanging indent
# - E127 continuation line over-indented for visual indent
# - E128 continuation line under-indented for visual indent
# = E129 visually indented line with same indent as next logical lin
[pycodestyle]
ignore = W291,E501,E402,W391,E703,W503,W504,E722,E302,E303,E305,E266,E702,W293,E301,E121,E126,E127,E128,E129