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: Idd1b13d759cf808d591b82d0793cbe259f97efac
This commit is contained in:
huang.zhiping 2018-10-03 02:06:41 +00:00
parent d10b5a626c
commit df25dec156

View File

@ -20,6 +20,7 @@ basepython = python3
commands = sphinx-build -W -b html doc/source doc/build/html commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:spelling] [testenv:spelling]
basepython = python3
deps = deps =
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
sphinxcontrib-spelling sphinxcontrib-spelling