From 3566daec76673be2237bd5e2e7dbb699305949e3 Mon Sep 17 00:00:00 2001 From: "Liping Mao (limao)" Date: Sun, 24 Jun 2018 16:40:12 +0800 Subject: [PATCH] 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 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 44fdaebc8f..731a5f4c16 100644 --- a/tox.ini +++ b/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