Merge "restrict bashate to files in repository"
This commit is contained in:
commit
187a4c1c33
4
tox.ini
4
tox.ini
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue