fix tox python3 overrides

We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I3a20dc68bf1d4051724d148b0fa808ea3d0a1673
Signed-off-by: Doug Hellmann <>
Doug Hellmann 2018-09-26 18:55:49 -04:00
parent 382ddfa1d3
commit 7efceceeb3
1 changed files with 3 additions and 0 deletions

View File

@ -17,14 +17,17 @@ whitelist_externals = bash
commands = {toxinidir}/tools/
basepython = python3
commands = python build_sphinx
basepython = python3
commands =
flake8 {posargs}
basepython = python3
commands = {posargs}