From 339e9b2051d990f47a882fd86227afdca1aca86b Mon Sep 17 00:00:00 2001 From: "Liping Mao (limao)" Date: Sun, 24 Jun 2018 16:17:55 +0800 Subject: Fix yaml warning in release notes and enable yamllint strict mode Fix yaml warning in release notes. And this patch wants to make sure pep8 jenkins job can cover yaml warning check in the future. So use yamllint with strict mode[1] to treat warning as error. [1] http://yamllint.readthedocs.io/en/stable/configuration.html#errors-and-warnings Closes-Bug: #1778389 Change-Id: I05af5204c4d5388daa8bd3c8582fd1058df15920 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 9d57db8e9..838020200 100644 --- a/tox.ini +++ b/tox.ini @@ -41,7 +41,7 @@ commands = {toxinidir}/tools/validate-all-dockerfiles.sh python {toxinidir}/tools/validate-all-file.py bandit -r docker kolla tests tools - yamllint . + yamllint -s . [testenv:bandit] commands = bandit -r docker kolla tests tools -- cgit v1.2.3