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: I14aef3de2d663ef36930285401a52f06eb30488d Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
d14f818c62
commit
ba13329fe6
4
tox.ini
4
tox.ini
|
@ -31,11 +31,12 @@ passenv = http_proxy
|
|||
OS_STDOUT_CAPTURE
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python2.7
|
||||
basepython = python3
|
||||
commands = sh tools/pretty_flake8.sh
|
||||
|
||||
|
||||
[testenv:docs]
|
||||
basepython = python3
|
||||
commands = rm -rf doc/build
|
||||
sphinx-build -E -W -b html doc/source doc/build/html
|
||||
|
||||
|
@ -66,6 +67,7 @@ deps = pip-check-reqs
|
|||
commands=pip-missing-reqs -d --ignore-file=designate/tests/* designate
|
||||
|
||||
[testenv:venv]
|
||||
basepython = python3
|
||||
commands = {posargs}
|
||||
|
||||
[flake8]
|
||||
|
|
Loading…
Reference in New Issue