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: Ia848da33224b359c3ac0ad5a57cebc1897369f3e
changes/09/608509/1
98k 4 years ago
parent
commit
f0fab9b956
  1. 2
      tox.ini

2
tox.ini

@ -35,7 +35,7 @@ commands =
| xargs flake8 --verbose"
[testenv:ansible-lint]
basepython=python2
basepython=python3
commands =
bash ci-scripts/ansible-lint.sh

Loading…
Cancel
Save