2014-06-26 21:03:16 +04:00
[pep8]
2014-06-26 20:18:36 +04:00
# 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
2017-10-09 16:19:24 +03:00
ignore = E201,E203,E221,E225,E231,E241,E251,E261,E265,E303,W291,W391,W293
2018-03-06 22:45:56 +03:00
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
2015-02-05 18:40:22 +03:00
[flake8]
2017-10-09 16:19:24 +03:00
max-line-length = 160
2019-02-13 19:25:54 +03:00
ignore = E201,E203,E221,E225,E231,E241,E251,E261,E265,E303,W291,W391,W293,E731,W504
2019-09-17 22:58:35 +03:00
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/
2019-11-30 21:43:23 +03:00
[testenv:linters]
deps =
2020-04-21 00:20:29 +03:00
make
2019-11-30 21:43:23 +03:00
flake8
yamllint
commands =
2020-04-16 17:13:09 +03:00
make flake8
2020-02-26 13:07:41 +03:00
yamllint -s .