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:
parent
ab5fd56bb0
commit
3566daec76
2
tox.ini
2
tox.ini
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user