Browse Source

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: I7f262bdc896b30e68529bcf88a01859d8a91aa58
huang.zhiping 6 months ago
parent
commit
d483072562
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      tox.ini

+ 1
- 0
tox.ini View File

@@ -21,6 +21,7 @@ basepython = python3
21 21
 commands = python setup.py build_sphinx
22 22
 
23 23
 [testenv:spelling]
24
+basepython = python3
24 25
 deps =
25 26
    -r{toxinidir}/requirements.txt
26 27
    sphinxcontrib-spelling

Loading…
Cancel
Save