Set ignore_basepython_conflict (fixes confusing pep8 message)
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. Closes-Bug: #1989106 Change-Id: I9ddc3631e1ae9491a42c946ec7bd124535536478
This commit is contained in:
parent
67df01a9cb
commit
5756628811
4
tox.ini
4
tox.ini
@ -2,6 +2,10 @@
|
||||
minversion = 1.6
|
||||
skipsdist = True
|
||||
envlist = py39,pep8
|
||||
# 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user