From 610afeb9c2c553144f2d3b7465580748cd6c771f Mon Sep 17 00:00:00 2001 From: Eric Fried Date: Wed, 8 May 2019 08:16:49 -0500 Subject: [PATCH] Use py3 for all* tox targets *except py27. Change-Id: I05bb59e256505960f965c05527bfa22357ac2979 --- tox.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tox.ini b/tox.ini index 2ec367e..69244cc 100644 --- a/tox.ini +++ b/tox.ini @@ -2,8 +2,13 @@ minversion = 2.0 envlist = py36,py27,pep8 skipsdist = True +# Automatic envs (pyXX) will use the python version appropriate to that +# env and ignore basepython inherited from [testenv]. That's what we +# want, and we don't need to be warned about it. +ignore_basepython_conflict = True [testenv] +basepython = python3 usedevelop = True install_command = pip install {opts} {packages} setenv =