Set ignore_basepython_conflict

Automatic envs (pyXX) will only use the python version appropriate to
that env and ignore basepython inherited from [testenv] if we set
ignore_basepython_conflict.

Change-Id: I7202d1b481ee9ec43dde25f735dde221abbc5360
This commit is contained in:
Eric Fried 2020-01-14 13:33:56 -06:00
parent a9222befaf
commit 2553d36ebb
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,11 @@
[tox]
minversion = 2.0
minversion = 3.1.1
envlist = py37,pep8
skipsdist = True
# Automatic envs (pyXX) will only use the python version appropriate to that
# env and ignore basepython inherited from [testenv] if we set
# ignore_basepython_conflict.
ignore_basepython_conflict = True
[testenv]
basepython = python3