Fix to pass linters tests
Change-Id: Icd9f3c2f2a455cc69b3cc799dc60ceebfc10b351
This commit is contained in:
parent
aa35542800
commit
1d5c197c4f
@ -1,4 +1,4 @@
|
|||||||
[gerrit]
|
[gerrit]
|
||||||
host=review.fuel-infra.org
|
host=review.openstack.org
|
||||||
port=29418
|
port=29418
|
||||||
project=nextgen/ms-memcached.git
|
project=openstack/fuel-ccp-memcached.git
|
||||||
|
7
tools/run-check-yaml-syntax.sh
Executable file
7
tools/run-check-yaml-syntax.sh
Executable 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
|
7
tox.ini
7
tox.ini
@ -1,7 +1,12 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 1.6
|
minversion = 1.6
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
envlist = bashate
|
envlist = linters,bashate
|
||||||
|
|
||||||
|
[testenv:linters]
|
||||||
|
deps = yamllint
|
||||||
|
commands =
|
||||||
|
{toxinidir}/tools/run-check-yaml-syntax.sh
|
||||||
|
|
||||||
[testenv:bashate]
|
[testenv:bashate]
|
||||||
commands = bash -c "exit 0"
|
commands = bash -c "exit 0"
|
||||||
|
Loading…
Reference in New Issue
Block a user