mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 15:02:07 -03:30
Restructure pep8 configuration and document it for what we exclude
This commit is contained in:
parent
28bddeda31
commit
6dbff4e012
16
setup.cfg
16
setup.cfg
@ -1,3 +1,17 @@
|
||||
# E201 - Whitespace after '('
|
||||
# E203 - Whitespace before ":"
|
||||
# E221 - Multiple spaces after operator
|
||||
# E225 - Missing whitespace around operator
|
||||
# E231 - Missing whitespace after ','
|
||||
# E241 - Multiple spaces after ','
|
||||
# E251 - Unexpected spaces around keyword / parameter equals
|
||||
# E261 - At least two spaces before inline comment
|
||||
# E302 - Expected 2 blank lines found 0
|
||||
# E303 - Too many blank lines
|
||||
# E501 - Line too long
|
||||
# W291 - Trailing whitespace
|
||||
# W391 - Blank line at end of file
|
||||
# W293 - Blank line contains whitespace
|
||||
[pep8]
|
||||
ignore=E501,E221,W291,W391,E302,E251,E203,W293,E231,E303,E201,E225,E261,E241
|
||||
ignore=E201,E203,E221,E225,E231,E241,E251,E261,E302,E303,E501,W291,W391,W293
|
||||
exclude=awx/lib/site-packages
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user