Files
3a36c1c6d27d7fad2f1349369b86f5113d6a0011
Tom Barron
d11efa9ca2
Suppress bashate line length warnings
By default bashate checks for lines longer than 80 characters and issues E006 warnings for these. Suppress the E006 warnings since we don't enforce this line length standard in OpenStack shell scripts so that other warnings will be more evident. Change-Id: Icdf32cb7e3d810d2f8644674d3516ed808c873a5
26 lines
820 B
INI
26 lines
820 B
INI
[tox]
minversion = 1.6
skipsdist = True
envlist = bashate
[testenv]
usedevelop = False
install_command = pip install {opts} {packages}
[testenv:bashate]
deps = bashate
whitelist_externals = bash
commands = bash -c "find {toxinidir} \
-not \( -type d -name .?\* -prune \) \
-not \( -type d -name doc -prune \) \
-type f \
-not -name \*~ \
-not -name \*.md \
\( \
-name \*.sh -or \
-name \*rc -or \
-name functions\* -or \
-wholename \*/lib/\* \
\) \
-print0 | xargs -0 bashate -v -iE006"