Merge "Fix bashate testing"

This commit is contained in:
Jenkins 2016-09-20 15:37:05 +00:00 committed by Gerrit Code Review
commit b232083c06
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
hacking<0.11,>=0.10.0
bashate>=0.2 # Apache-2.0
coverage>=3.6
fixtures>=3.0.0 # Apache-2.0/BSD
python-subunit>=0.0.18

View File

@ -17,7 +17,7 @@ commands = python setup.py test --slowest --testr-args='{posargs}'
[testenv:pep8]
whitelist_externals = bash
commands =
bash -c "find {toxinidir} -type f -name '*.sh' -not -path '*/.tox/*' -exec bashate -v \{\} \;"
bash -c "set -o pipefail; find {toxinidir} -type f -name '*.sh' -not -path '*/.tox/*' -print0 | xargs -rt0 bashate -v"
flake8 {posargs}
[testenv:linters]