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: I204e381701c91e59558eee57efac7ae7566acf76
This commit is contained in:
Nguyen Hung Phuong 2018-07-10 10:28:03 +07:00
parent 7910521a7e
commit 2d86783ad2
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ whitelist_externals = bash
commands = bash -c "find {toxinidir} -not -wholename \*.tox/\* -and \( -name \*.sh -or -wholename \*.d/\* -and -not -name \*.md -and -not -name \*.rst -and -not -name \*.py \) -print0 | xargs -0 bashate -v"
[testenv:pep8]
basepython = python3
setenv =
ELEMENTS_DIR=elements
commands =