Merge "Remove 1000 bashate failures by ignoring .git directory"

This commit is contained in:
Jenkins 2015-06-08 15:50:52 +00:00 committed by Gerrit Code Review
commit 53267500ed

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 '^[[:punct:]]+!/(bin/|/usr/bin/env )(ba)?sh' .` && bashate $files"
bash -c "files=`egrep -rlI --exclude-dir .git '^[[:punct:]]+!/(bin/|/usr/bin/env )(ba)?sh' .` && bashate $files"
[testenv:setupenv]
whitelist_externals = bash