summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-12-13 07:38:00 +0000
committerGerrit Code Review <gerrit@onap.org>2021-12-13 07:38:00 +0000
commita5fde254dc1a22f65d69ca226de66b238e9607b1 (patch)
treed24b64bb91a93a67e31876752428ca3825ae3d52
parent77db44818d7ecad8e96dbd5e6ab13344d85043dc (diff)
parent73f3459e00bc391c8639a3bb2d56a15599f2b824 (diff)
Merge "[COMMON] Add a shellcheck tox profile"
-rw-r--r--tox.ini7
1 files changed, 7 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 337b397a26..01019bbd18 100644
--- a/tox.ini
+++ b/tox.ini
@@ -62,6 +62,13 @@ whitelist_externals =
commands =
{toxinidir}/.ci/check-bashisms.sh
+[testenv:shellcheck]
+basepython = python3
+deps = shellcheck-py
+whitelist_externals = find
+commands =
+ find . -not -path '*/\.*' -name *.sh -exec shellcheck \{\} +
+
[testenv:autopep8]
deps =
-r{toxinidir}/requirements.txt