update link to upper-constraints.txt
[optf/osdf.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 8dc20c9..0bd2d9e 100644 (file)
--- 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"