summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2022-06-17 13:14:05 +0100
committerStephen Finucane <sfinucan@redhat.com>2022-06-17 14:34:32 +0100
commit7c2d0f589c8daf5c65a80ed20d1e7fbfcc282312 (patch)
treeb29ac84645dd3e971bd780003db9d2ea60df77e0
parentdaa8e746ba03aab9c95c87bad4d8eac1595b1513 (diff)
downloadkeystone-7c2d0f589c8daf5c65a80ed20d1e7fbfcc282312.tar.gz
tox: Don't generate byte code
Keeps directories clean. Change-Id: I8fcd9370a6adbfe8bbb2ce441a6f2efad45d089a Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
-rw-r--r--tox.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 7792f5114..b1b1fad4c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,9 +4,10 @@ envlist = py39,pep8,api-ref,docs,genconfig,genpolicy,releasenotes,protection
ignore_basepython_conflict = true
[testenv]
-usedevelop = True
basepython = python3
-setenv = VIRTUAL_ENV={envdir}
+usedevelop = True
+setenv =
+ PYTHONDONTWRITEBYTECODE=1
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt