diff options
author | guillaume.lambert <guillaume.lambert@orange.com> | 2021-12-10 20:26:19 +0100 |
---|---|---|
committer | Guillaume Lambert <guillaume.lambert@orange.com> | 2021-12-12 00:47:19 +0000 |
commit | 73f3459e00bc391c8639a3bb2d56a15599f2b824 (patch) | |
tree | 76f456df8a54e75107d74a9dea8c556c6abb3222 /tox.ini | |
parent | d09f363e87c98d19ba2fccdf8f235d5cbfb908ee (diff) |
[COMMON] Add a shellcheck tox profile
Shellcheck is a shell linter.
It can include good remarks as well as false positives.
It is currently not activated in the CI.
Issue-ID: OOM-2643
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ie392ce030f877ab6bdca9e91d7f8ec6820f34d79
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |