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
This commit is contained in:
Andreas Jaeger 2015-12-22 21:19:15 +01:00 committed by YAMADA Hideki
parent 7f031d4019
commit 96e6f9e393

12
tox.ini
View File

@ -11,15 +11,15 @@ install_command = pip install {opts} {packages}
deps = bashate
whitelist_externals = bash
commands = bash -c "find {toxinidir} \
-not \( -type d -name .?\* -prune \) \ # prune all 'dot' dirs
-not \( -type d -name doc -prune \) \ # skip documentation
-type f \ # only files
-not -name \*~ \ # skip editors, readme, etc
-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/\* \ # /lib files are shell, but
\) \ # have no extension
-wholename \*/lib/\* \
\) \
-print0 | xargs -0 bashate -v"