
Change-Id: I5dde134740631daa103b1ea27c2a8891de8a40b0 Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
26 lines
828 B
INI
26 lines
828 B
INI
[tox]
|
|
minversion = 3.18.0
|
|
skipsdist = True
|
|
envlist = bashate
|
|
|
|
[testenv]
|
|
usedevelop = False
|
|
install_command = pip install {opts} {packages}
|
|
|
|
[testenv:linters]
|
|
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,E040"
|