X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tox.ini;fp=tox.ini;h=0bd2d9ee5f0c82d496c1d0a1033f6c43f35b94d2;hb=95c9fc3d84ec1fafed3ab5ddfa1c580fc1227e02;hp=8dc20c9a25280f0aec561c01c1476f842c05d4f8;hpb=937e29371725448ddbe41a245c88bbfa5ad07729;p=optf%2Fosdf.git diff --git a/tox.ini b/tox.ini index 8dc20c9..0bd2d9e 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ skipsdist=True envlist = py3, pylint, flake8diff [testenv] +allowlist_externals=/bin/cp, /bin/bash, /bin/rm distribute = False basepython=python3 setenv = @@ -26,7 +27,7 @@ deps = -r{toxinidir}/requirements.txt source=./apps/,./osdf/,osdfapp.py,./runtime/,solverapp.py [testenv:pylint] -whitelist_externals=bash +allowlist_externals=bash commands = bash -c "pylint --reports=y osdf apps runtime| tee pylint.out" [testenv:py3] @@ -34,7 +35,7 @@ basepython=python3 [testenv:flake8diff] basepython=python3 -whitelist_externals=bash +allowlist_externals=bash deps = hacking>=2.0.0 commands = bash -c "files=$(git diff HEAD^ HEAD --diff-filter=d --name-only | grep -E '(^apps\/|osdf\/|runtime\/)'| grep -E '*\.py$'); if [[ -z $files ]]; then exit 0; else flake8 $files; fi"