Enable yamllint strict mode

To make sure we can find the yaml warning before code merge[1].
We can enable strict mode to treat warning as error[2].

[1] https://review.openstack.org/#/c/573482/1
[2] http://yamllint.readthedocs.io/en/stable/configuration.html#errors-and-warnings

Change-Id: I0b54bc2bd384f092f2fcd1b0396e133a0d95befe
This commit is contained in:
Liping Mao (limao) 2018-06-24 16:40:12 +08:00
parent ab5fd56bb0
commit 3566daec76
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ commands =
doc8 doc
python {toxinidir}/tools/validate-all-file.py
bandit -r ansible kolla_ansible tests tools
yamllint .
yamllint -s .
[testenv:bandit]
commands = bandit -r ansible kolla_ansible tests tools