Merge "restrict bashate to files in repository"

This commit is contained in:
Jenkins 2017-06-30 00:15:46 +00:00 committed by Gerrit Code Review
commit 187a4c1c33
1 changed files with 2 additions and 2 deletions

View File

@ -33,11 +33,11 @@ commands =
# E040: Syntax error determined using `bash -n` (as many scripts
# use jinja templating, this will often fail and the syntax
# error will be discovered in execution anyway)
bash -c "grep --recursive --binary-files=without-match \
bash -c "git ls-files | xargs grep --binary-files=without-match \
--files-with-match '^.!.*\(ba\)\?sh$' \
--exclude-dir .tox \
--exclude-dir .git \
{toxinidir} | xargs bashate --error . --verbose --ignore=E006,E040"
| xargs bashate --error . --verbose --ignore=E006,E040"
[testenv:pep8]
commands =