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:
zhangbailin 2022-09-06 17:10:50 +08:00 committed by Brin Zhang
parent 67df01a9cb
commit 5756628811

View File

@ -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