Move bashate check to linters env
Change-Id: I749b02019bc3831f549292aa53720ce3803702ba
This commit is contained in:
parent
bd2847ddd5
commit
d2a8090c1a
@ -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