Avoid pollution and false positives with tox.ini

- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.

Change-Id: I4af06dff68ecb5c74e6af0a94a7a3a678c632f13
This commit is contained in:
Camille Rodriguez 2019-08-27 09:03:47 -04:00
parent 1772dedc55
commit f2244c7367
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,10 @@
[tox]
envlist = pep8,py27,py34,py35,py36
skipsdist = True
skip_missing_interpreters = True
# NOTE(beisner): Avoid build/test env pollution by not enabling sitepackages.
sitepackages = False
# NOTE(beisner): Avoid false positives by not skipping missing interpreters.
skip_missing_interpreters = False
[testenv]
setenv = VIRTUAL_ENV={envdir}