X-Git-Url: https://gerrit.onap.org/r/gitweb?p=oom.git;a=blobdiff_plain;f=tox.ini;fp=tox.ini;h=dee4f3accf1e95839784151ac71238f6f0399cf1;hp=61acbbba2a6a2cbd06089a4ea31af234db766bc2;hb=0daad9993ff4d1ea146e0100e78708964c6a9921;hpb=f657a816b9074f5bf2b3d300d93266269c1f05a5 diff --git a/tox.ini b/tox.ini index 61acbbba2a..dee4f3accf 100644 --- a/tox.ini +++ b/tox.ini @@ -65,7 +65,9 @@ commands = || (echo "checkbashisms command not found - please install it (e.g. sudo apt-get install devscripts | \ yum install devscripts-minimal )" >&2 && exit 1)' find . -not -path '*/\.*' -name *.sh -exec checkbashisms \{\} + + find . -not -path '*/\.*' -name *.failover -exec checkbashisms -f \{\} + sh -c "! find . -not -path '*/\.*' -name *.sh -exec grep 'local .*=' \{\} + || exit 2" + sh -c "! find . -not -path '*/\.*' -name *.failover -exec grep 'local .*=' \{\} + || exit 2" [testenv:autopep8] deps =