Fix to pass linters tests

Change-Id: I87abb5ff697243c9e724e0132f60f47823acac2b
This commit is contained in:
Artur Zarzycki 2016-07-07 17:08:28 +02:00
parent 38d9ef6e77
commit 89fa5dc257
3 changed files with 14 additions and 2 deletions

View File

@ -1,4 +1,4 @@
[gerrit]
host=review.fuel-infra.org
host=review.openstack.org
port=29418
project=nextgen/project-config.git
project=openstack/fuel-ccp-ci-config.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

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