From 5756628811d81da21baf732b237bee67d2817b09 Mon Sep 17 00:00:00 2001 From: zhangbailin Date: Tue, 6 Sep 2022 17:10:50 +0800 Subject: [PATCH] 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 --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index 65ae2e6..e73cd50 100644 --- a/tox.ini +++ b/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