summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiping Mao (limao) <limao@cisco.com>2018-06-24 16:17:55 +0800
committerLiping Mao (limao) <limao@cisco.com>2018-06-24 16:46:23 +0800
commit339e9b2051d990f47a882fd86227afdca1aca86b (patch)
treeeb099c1b443c76c4dac6db22bd120e71e8567f04
parentb21350f9cb62bc387b883b63c7f0ec2a80708239 (diff)
downloadkolla-339e9b2051d990f47a882fd86227afdca1aca86b.tar.gz
kolla-339e9b2051d990f47a882fd86227afdca1aca86b.zip
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
-rw-r--r--releasenotes/notes/add-congress-dashboard-e302d9aeecdc0eaa.yaml1
-rw-r--r--tox.ini2
2 files changed, 2 insertions, 1 deletions
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