Ignore .tox directory to remove some bashate failures

Change-Id: I7342e4b0b31e0add681ab5b24083eda10031f0cf
Partially-Implements: blueprint bashate-gate
This commit is contained in:
Steven Dake 2015-05-28 09:16:20 -07:00
parent 2ae0c127fe
commit e7edb092c1

View File

@ -18,7 +18,7 @@ deps = bashate
whitelist_externals = bash
# tox improperly interprets # and {1} in regex, so match on [[:punct:]]+
commands =
bash -c "files=`egrep -rlI --exclude-dir .git '^[[:punct:]]+!/(bin/|/usr/bin/env )(ba)?sh' .` && bashate $files"
bash -c "files=`egrep -rlI --exclude-dir .git --exclude-dir .tox '^[[:punct:]]+!/(bin/|/usr/bin/env )(ba)?sh' .` && bashate $files"
[testenv:setupenv]
whitelist_externals = bash