Fix to pass linters tests

Change-Id: Ic9e0bd87e48ae9b694a5400d856c0206503369a6
This commit is contained in:
Artur Zarzycki 2016-07-06 17:30:31 +02:00
parent 275f69348b
commit d8e33ec658
3 changed files with 15 additions and 3 deletions

View File

@ -1,4 +1,4 @@
[gerrit]
host=review.fuel-infra.org
host=review.openstack.org
port=29418
project=nextgen/ms-nova.git
project=openstack/fuel-ccp-nova.git

7
tools/run-check-yaml-syntax.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
### Temp yaml syntax checker script.
set -e
for file in $(find . -name '*.yaml'); do
yamllint -d relaxed $file
done

View File

@ -1,8 +1,13 @@
[tox]
minversion = 1.6
envlist = bashate
envlist = linters,bashate
skipsdist = True
[testenv:linters]
deps = yamllint
commands =
{toxinidir}/tools/run-check-yaml-syntax.sh
[testenv:bashate]
deps = bashate>=0.2
whitelist_externals = bash