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: I15775f36d0fbba05c5493037b389f7dc363a049e
This commit is contained in:
98k 2018-10-08 07:42:05 +00:00
parent db9631b5bd
commit 064b35fa4e
1 changed files with 2 additions and 1 deletions

View File

@ -24,8 +24,9 @@ basepython = python3
commands = python setup.py build_sphinx
[testenv:spelling]
basepython = python3
deps =
-r{toxinidir}/requirements.txt
sphinxcontrib-spelling
PyEnchant
commands = sphinx-build -b spelling doc/source doc/build/spelling
commands = sphinx-build -b spelling doc/source doc/build/spelling