Remove 1000 bashate failures by ignoring .git directory
Change-Id: I64f04bddf2d7fac1c6dd0a801b974501b24f3ac0 Partially-Implements: blueprint bashate-gate
This commit is contained in:
parent
32b8f2b95e
commit
5a093488c3
2
tox.ini
2
tox.ini
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user