devstack-plugin-sheepdog/tox.ini
Andreas Jaeger 96e6f9e393 Fix for tox 2.x
Tox 2.x does not parse the current tox file as is, the comments cause
"ValueError: No closing quotation". Remove the comments to make the file
work with recent tox.

This is caused by a backwards incompatible change in tox:
https://bitbucket.org/hpk42/tox/issues/181

Closes-Bug: #1527562
Change-Id: I2a12093dcb3207be1a888445ec59e1b7da849852
2016-05-27 05:54:53 +00:00

26 lines
813 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"