X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tox.ini;h=dee4f3accf1e95839784151ac71238f6f0399cf1;hb=0daad9993ff4d1ea146e0100e78708964c6a9921;hp=bbd00f85c4deaa85a2a1a99776a41b41916b7642;hpb=fdb5251a2f9071879b4364b5db322ea622d547a8;p=oom.git diff --git a/tox.ini b/tox.ini index bbd00f85c4..dee4f3accf 100644 --- a/tox.ini +++ b/tox.ini @@ -65,6 +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 =