Browse Source

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: Ie445395ba97df54fa1857c7c686b698641fb8e22
changes/29/678829/1
Camille Rodriguez 7 months ago
parent
commit
73e9950aae
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      tox.ini

+ 4
- 0
tox.ini View File

@@ -1,6 +1,10 @@
[tox]
envlist = pep8,py27
skipsdist = 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…
Cancel
Save