devstack-plugin-ceph/tox.ini
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
2016-05-28 05:40:23 -04:00

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"