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 811843e403
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@
minversion = 2.0
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