manila-test-image/tox.ini
Ben Swartzlander 0c98cfee3e Wrap long lines
Fix bashate warning E006 by wrapping long lines.

Also make sure bashate runs on init scripts that don't end
in .sh.

Change-Id: I077a064505e6f11f61c65279a54c9b2430044bf0
2017-01-29 23:56:20 +00:00

18 lines
663 B
INI

[tox]
envlist = py27, py33
[testenv]
deps = {env:BASHATE_INSTALL_PATH:bashate==0.5.1}
[testenv:bashate]
whitelist_externals = bash
commands = bash -c "(find {toxinidir} \
-not \( -type d -name .?\* -prune \) \
-not \( -type d -name output-\* -prune \) \
-not \( -type d -name overlay-\* -prune \) \
-not \( -type d -name buildroot -prune \) \
-not \( -type d -name download -prune \) \
-type f -name \*.sh -print0 ; \
find {toxinidir}/common-files/etc/init.d \
-type f -print0) | xargs -0 bashate -v"