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: I77d021dfa8654ab9366bd50f67e4bdbdd17dc1db
This commit is contained in:
parent
eec03efb47
commit
ea3f7e846b
5
tox.ini
5
tox.ini
@ -1,7 +1,10 @@
|
||||
[tox]
|
||||
envlist = pep8,py27,py37
|
||||
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}
|
||||
|
Loading…
Reference in New Issue
Block a user