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 --- releasenotes/notes/add-congress-dashboard-e302d9aeecdc0eaa.yaml | 1 + tox.ini | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/releasenotes/notes/add-congress-dashboard-e302d9aeecdc0eaa.yaml b/releasenotes/notes/add-congress-dashboard-e302d9aeecdc0eaa.yaml index c48e8509b..847e169a2 100644 --- a/releasenotes/notes/add-congress-dashboard-e302d9aeecdc0eaa.yaml +++ b/releasenotes/notes/add-congress-dashboard-e302d9aeecdc0eaa.yaml @@ -1,2 +1,3 @@ +--- features: - Add congress-dashboard to horizon image. 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