Fix to pass linters tests

Change-Id: I71055e582bcf3abcdfa4ab88f6f1cda9b44b7407
This commit is contained in:
Artur Zarzycki 2016-07-04 18:14:27 +02:00
parent 2830808bb7
commit 292b04284a
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-horizon.git
project=openstack/fuel-ccp-horizon.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,7 +1,12 @@
[tox]
minversion = 1.6
envlist = linters,bashate
skipsdist = True
envlist = bashate
[testenv:linters]
deps = yamllint
commands =
{toxinidir}/tools/run-check-yaml-syntax.sh
[testenv:bashate]
deps = bashate>=0.2