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
This commit is contained in:
Liping Mao (limao) 2018-06-24 16:17:55 +08:00
parent b21350f9cb
commit 339e9b2051
2 changed files with 2 additions and 1 deletions

View File

@ -1,2 +1,3 @@
---
features:
- Add congress-dashboard to horizon image.

View File

@ -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