Merge "Ignore a struture error (E010) on bashate"

This commit is contained in:
Zuul 2020-06-23 18:07:04 +00:00 committed by Gerrit Code Review
commit d1338f73f4
1 changed files with 3 additions and 1 deletions

View File

@ -18,13 +18,15 @@ commands = flake8
[testenv:bashate]
deps = bashate
whitelist_externals = bash
# E010: do not on the same line as for
# E006: check for lines longer than 79 columns
commands = bash -c "find {toxinidir} \
-not \( -type d -name .?\* -prune \) \
-type f \
-not -name \*~ \
-not -name \*.md \
-name \*.sh \
-print0 | xargs -0 bashate -i E006 -v"
-print0 | xargs -0 bashate -i E006,E010 -v"
[testenv:venv]
commands = {posargs}