73953ddb5e
The commands used by constraints need at least tox 2.0. Update to reflect reality, which should help with local running of constraints targets. Change-Id: I2d757bb73f45bcbde86d2dc9bd960365010cc041 Closes-Bug: #1801462
17 lines
516 B
INI
17 lines
516 B
INI
[tox]
|
|
minversion = 2.0
|
|
skipsdist = True
|
|
envlist = bashate
|
|
|
|
[testenv:bashate]
|
|
deps = bashate
|
|
whitelist_externals = bash
|
|
commands = bash -c "find {toxinidir} \
|
|
-not \( -type d -name .?\* -prune \) \
|
|
-not \( -type d -name contrib -prune \) \
|
|
-type f \
|
|
-not -name \*~ \
|
|
-not -name \*.md \
|
|
-name \*.sh \
|
|
-print0 | xargs -0 bashate -v"
|