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: I859649b7f4f9ab70617309947375d4886e14a860
huang.zhiping 5 years ago
parent 7de2fd8444
commit dff8dabab0

@ -17,13 +17,16 @@ commands =
sitepackages = True
basepython = python3
commands = flake8
basepython = python3
commands =
python test --coverage --coverage-package-name=os_collect_config
basepython = python3
commands = {posargs}