diff options
author | 2020-03-16 11:03:56 +0100 | |
---|---|---|
committer | 2020-03-16 11:05:26 +0100 | |
commit | 0097342b46d1ec890c6133adf252a0e55661ade2 (patch) | |
tree | 65b0085588fd1aac8c3850a155743a5398721e2a | |
parent | 005dc349ac340cb236e8845e39ff840e017ffa75 (diff) |
Add yamllint in gates
It verified the yaml files.
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I3901d92ec9c297e3fc025f9b1c42768151f65a42
-rw-r--r-- | test-requirements.txt | 1 | ||||
-rw-r--r-- | tox.ini | 10 |
2 files changed, 10 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt index c3954be..4c273f6 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1 +1,2 @@ flake8 # MIT +yamllint @@ -1,5 +1,5 @@ [tox] -envlist = pep8 +envlist = pep8,yamllint skipsdist = true [testenv] @@ -10,3 +10,11 @@ deps = [testenv:pep8] basepython = python3 commands = flake8 + +[testenv:yamllint] +basepython = python3 +files = + INFO.yaml + tools +commands = + yamllint -s {[testenv:yamllint]files} |