summaryrefslogtreecommitdiffstats
path: root/.yamllint
diff options
context:
space:
mode:
authorYanis Guenane <yanis@guenane.org>2019-11-30 19:43:23 +0100
committerYanis Guenane <yanis@guenane.org>2019-12-02 15:12:51 +0100
commitca247182dffe56a034c8220d745433e52c4f3684 (patch)
treef39844329478ce0f172483f4810a7e45bb3180dd /.yamllint
parentMerge pull request #5411 from marshmalien/5338-wf-inventory-lookup-permissions (diff)
downloadawx-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 '.yamllint')
-rw-r--r--.yamllint12
1 files changed, 12 insertions, 0 deletions
diff --git a/.yamllint b/.yamllint
new file mode 100644
index 0000000000..11c769cff1
--- /dev/null
+++ b/.yamllint
@@ -0,0 +1,12 @@
+---
+ignore: |
+ .tox
+ awx/main/tests/data/inventory/plugins/**
+ # vault files
+ awx/main/tests/data/ansible_utils/playbooks/valid/vault.yml
+ awx/ui/test/e2e/tests/smoke-vars.yml
+
+extends: default
+
+rules:
+ line-length: disable