diff options
author | Yanis Guenane <yanis@guenane.org> | 2019-11-30 19:43:23 +0100 |
---|---|---|
committer | Yanis Guenane <yanis@guenane.org> | 2019-12-02 15:12:51 +0100 |
commit | ca247182dffe56a034c8220d745433e52c4f3684 (patch) | |
tree | f39844329478ce0f172483f4810a7e45bb3180dd /setup.cfg | |
parent | Merge pull request #5411 from marshmalien/5338-wf-inventory-lookup-permissions (diff) | |
download | awx-ca247182dffe56a034c8220d745433e52c4f3684.tar.xz awx-ca247182dffe56a034c8220d745433e52c4f3684.zip |
yamllint: Make all files in awx pass yamllint
This commit updates all files that weren't passing yamllint for them to
pass.
A new yamllint target has been added. One can run `tox -e yamllint` or
`yamllint -s .` locally to ensure yaml files are still passing.
This check will be enabled in the CI so it can get on every new
contributions, and prevent merging non-compliant code.
Signed-off-by: Yanis Guenane <yguenane@redhat.com>
Diffstat (limited to 'setup.cfg')
-rwxr-xr-x | setup.cfg | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -19,3 +19,11 @@ exclude=.tox,venv,awx/lib/site-packages,awx/plugins/inventory/ec2.py,awx/plugins 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/ + +[testenv:linters] +deps = + flake8 + yamllint +commands = + - flake8 + - yamllint -s . |