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:
parent
7f031d4019
commit
96e6f9e393
12
tox.ini
12
tox.ini
@ -11,15 +11,15 @@ install_command = pip install {opts} {packages}
|
|||||||
deps = bashate
|
deps = bashate
|
||||||
whitelist_externals = bash
|
whitelist_externals = bash
|
||||||
commands = bash -c "find {toxinidir} \
|
commands = bash -c "find {toxinidir} \
|
||||||
-not \( -type d -name .?\* -prune \) \ # prune all 'dot' dirs
|
-not \( -type d -name .?\* -prune \) \
|
||||||
-not \( -type d -name doc -prune \) \ # skip documentation
|
-not \( -type d -name doc -prune \) \
|
||||||
-type f \ # only files
|
-type f \
|
||||||
-not -name \*~ \ # skip editors, readme, etc
|
-not -name \*~ \
|
||||||
-not -name \*.md \
|
-not -name \*.md \
|
||||||
\( \
|
\( \
|
||||||
-name \*.sh -or \
|
-name \*.sh -or \
|
||||||
-name \*rc -or \
|
-name \*rc -or \
|
||||||
-name functions\* -or \
|
-name functions\* -or \
|
||||||
-wholename \*/lib/\* \ # /lib files are shell, but
|
-wholename \*/lib/\* \
|
||||||
\) \ # have no extension
|
\) \
|
||||||
-print0 | xargs -0 bashate -v"
|
-print0 | xargs -0 bashate -v"
|
||||||
|
Loading…
Reference in New Issue
Block a user