c7e09efaa1
The bashate job, a voting job, has been failing for a while due to two bugs. Fix the two bugs that require modifications to tox's configuration file, tox.ini. Bug #1527562 Remove inline comments after line escape that isn't understood by tox's ini parser. This is due to the backward incompatible fix for, https://bitbucket.org/hpk42/tox/issues/181 Bug #1554019 Ignore .xml files that do not need to comply with bashate. Closes-Bug: #1527562 Closes-Bug: #1554019 Change-Id: Id11275d5d15e30d2558a475a4877e6d71bdc6726
27 lines
861 B
INI
27 lines
861 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 \
|
|
-not -name \*.xml \
|
|
\( \
|
|
-name \*.sh -or \
|
|
-name \*rc -or \
|
|
-name functions\* -or \
|
|
-wholename \*/lib/\* \
|
|
\) \
|
|
-print0 | xargs -0 bashate -v"
|