Move bashate check to linters env
Change-Id: I749b02019bc3831f549292aa53720ce3803702ba
This commit is contained in:
parent
bd2847ddd5
commit
d2a8090c1a
@ -7,4 +7,4 @@ tox -e docs
|
||||
ls -al doc/build/html/
|
||||
|
||||
echo "** Uploading HTML docs to the server:"
|
||||
rsync -v -r --delete -e ssh doc/build/html docs-publisher@docs.ng.mirantis.net:~/
|
||||
rsync -v -r --delete -e ssh doc/build/html docs-publisher@docs.ng.mirantis.net:~/
|
||||
|
@ -1 +1,2 @@
|
||||
bashate>=0.2
|
||||
yamllint
|
||||
|
7
tox.ini
7
tox.ini
@ -10,13 +10,10 @@ deps =
|
||||
usedevelop = False
|
||||
|
||||
[testenv:linters]
|
||||
deps = yamllint
|
||||
commands =
|
||||
{toxinidir}/tools/run-check-yaml-syntax.sh
|
||||
|
||||
[testenv:bashate]
|
||||
whitelist_externals = bash
|
||||
commands = bash -c "find {toxinidir} -type f -name '*.sh' -not -path '*/.tox/*' -print0 | xargs -0 bashate -v -iE006"
|
||||
# bashate check
|
||||
bash -c "find {toxinidir} -type f -name '*.sh' -not -path '*/.tox/*' -print0 | xargs -0 bashate -v -iE006"
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
Loading…
x
Reference in New Issue
Block a user