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: Iafb959ea0c81fd0a89faee48949dc0f0af3457b5
This commit is contained in:
parent
c13558ba09
commit
4748818fa8
2
tox.ini
2
tox.ini
|
@ -25,12 +25,14 @@ description = Runs set of linters against codebase (checkniceness)
|
|||
commands = {[testenv:checkniceness]commands}
|
||||
|
||||
[testenv:checkniceness]
|
||||
basepython = python3
|
||||
description = Validates (pep-like) documenation
|
||||
skip_install = True
|
||||
usedevelop = False
|
||||
commands = doc8 --file-encoding utf-8 {toxinidir}/doc
|
||||
|
||||
[testenv:spelling]
|
||||
basepython = python3
|
||||
deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
sphinxcontrib-spelling
|
||||
|
|
Loading…
Reference in New Issue