diff options
author | ansible-zuul[bot] <48994755+ansible-zuul[bot]@users.noreply.github.com> | 2019-12-04 17:29:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-04 17:29:01 +0000 |
commit | 23193a4f8559b2b53c0ac51bd974f26eba5adffb (patch) | |
tree | e8d0e361852de7d333c16a66760ba6d3a2024b41 | |
parent | 987c14279c62fa6c0f79f67d9c6db0e8818e59fa (diff) | |
parent | c19aa3ccc82f3ed202a5ca530dda14c0532f2474 (diff) | |
download | vyos-ansible-collection-23193a4f8559b2b53c0ac51bd974f26eba5adffb.tar.gz vyos-ansible-collection-23193a4f8559b2b53c0ac51bd974f26eba5adffb.zip |
Merge pull request #55 from Spredzy/yamllint
linters: Add yamllint as part of linters
Reviewed-by: https://github.com/apps/ansible-zuul
-rw-r--r-- | .yamllint | 14 | ||||
-rw-r--r-- | test-requirements.txt | 1 | ||||
-rw-r--r-- | tox.ini | 1 |
3 files changed, 16 insertions, 0 deletions
diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000..6f0d12b --- /dev/null +++ b/.yamllint @@ -0,0 +1,14 @@ +--- +extends: default + +ignore: | + .tox + +rules: + braces: + max-spaces-inside: 1 + level: error + brackets: + max-spaces-inside: 1 + level: error + line-length: disable diff --git a/test-requirements.txt b/test-requirements.txt index 4e92b9d..dfdd4f8 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,2 +1,3 @@ black flake8 +yamllint @@ -12,6 +12,7 @@ install_command = pip install {opts} {packages} commands = black -v -l79 --check {toxinidir} flake8 {posargs} + yamllint -s . [testenv:venv] commands = {posargs} |