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: If0f86ecb4c18216daf158101dbd3663bda06956f
This commit is contained in:
parent
401ebe627c
commit
29a386df3c
2
tox.ini
2
tox.ini
@ -9,6 +9,7 @@ passenv=HTTP_PROXY HTTPS_PROXY http_proxy https_proxy NO_PROXY no_proxy
|
||||
|
||||
# Please use `make docs` instead
|
||||
[testenv:docs]
|
||||
basepython=python3
|
||||
whitelist_externals=
|
||||
rm
|
||||
cp
|
||||
@ -45,6 +46,7 @@ commands=
|
||||
tox -c {toxinidir}/src/bin/shipyard_client/tox.ini -e py36
|
||||
|
||||
[testenv:pep8]
|
||||
basepython=python3
|
||||
whitelist_externals=
|
||||
tox
|
||||
commands=
|
||||
|
Loading…
x
Reference in New Issue
Block a user