mirror of
https://github.com/ansible/awx.git
synced 2026-01-31 17:18:59 -03:30
move code linting to a stricter pep8-esque auto-formatting tool, black
This commit is contained in:
21
setup.cfg
21
setup.cfg
@@ -1,21 +0,0 @@
|
||||
[pep8]
|
||||
# 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
|
||||
# W291 - Trailing whitespace
|
||||
# W391 - Blank line at end of file
|
||||
# W293 - Blank line contains whitespace
|
||||
ignore=E201,E203,E221,E225,E231,E241,E251,E261,E265,E303,W291,W391,W293
|
||||
exclude=.tox,venv,awx/lib/site-packages,awx/plugins/inventory/ec2.py,awx/plugins/inventory/gce.py,awx/plugins/inventory/vmware.py,awx/plugins/inventory/openstack.py,awx/ui,awx/api/urls.py,awx/main/migrations,awx/main/tests/data,installer/openshift/settings.py,tools/docker-compose/ansible/roles/sources/files/local_settings.py,tools/ansible/roles/dockerfile/files/settings.py
|
||||
|
||||
[flake8]
|
||||
max-line-length=160
|
||||
ignore=E201,E203,E221,E225,E231,E241,E251,E261,E265,E303,W291,W391,W293,E731,W504
|
||||
exclude=.tox,venv,awx/lib/site-packages,awx/plugins/inventory,awx/ui,awx/api/urls.py,awx/main/migrations,awx/main/tests/data,node_modules/,awx/projects/,tools/docker,awx/settings/local_*.py,installer/openshift/settings.py,build/,installer/,awxkit/test,awx_collection/,tools/docker-compose/ansible/roles/sources/files/local_settings.py,tools/ansible/roles/dockerfile/files/settings.py
|
||||
Reference in New Issue
Block a user