tox: Don't generate byte code

Keeps directories clean.

Change-Id: I8fcd9370a6adbfe8bbb2ce441a6f2efad45d089a
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
Stephen Finucane 2022-06-17 13:14:05 +01:00
parent daa8e746ba
commit 7c2d0f589c
1 changed files with 3 additions and 2 deletions

View File

@ -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