Merge "Ignore a struture error (E010) on bashate"
This commit is contained in:
commit
d1338f73f4
4
tox.ini
4
tox.ini
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue