Skip to content
Snippets Groups Projects
Commit 5a093488 authored by Steven Dake's avatar Steven Dake
Browse files

Remove 1000 bashate failures by ignoring .git directory

Change-Id: I64f04bddf2d7fac1c6dd0a801b974501b24f3ac0
Partially-Implements: blueprint bashate-gate
parent 32b8f2b9
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ deps = bashate ...@@ -18,7 +18,7 @@ deps = bashate
whitelist_externals = bash whitelist_externals = bash
# tox improperly interprets # and {1} in regex, so match on [[:punct:]]+ # tox improperly interprets # and {1} in regex, so match on [[:punct:]]+
commands = 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] [testenv:setupenv]
whitelist_externals = bash whitelist_externals = bash
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment