8950982d04
Let's bump minimal tox version so that we can rename whitelist_externals option to allowlist_externals one. https: //tox.wiki/en/latest/changelog.html#v3-18-0-2020-07-23 Change-Id: Iad7bc6c16508a509d0da711901a0a7212263577e
25 lines
775 B
INI
25 lines
775 B
INI
[tox]
|
|
minversion = 3.18.0
|
|
skipsdist = True
|
|
envlist = bashate
|
|
|
|
[testenv]
|
|
usedevelop = False
|
|
|
|
[testenv:bashate]
|
|
deps = bashate
|
|
allowlist_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 -iE006"
|