From de727ec896df08ed80e7bb7cee2552a7c723df37 Mon Sep 17 00:00:00 2001 From: 98k <18552437190@163.com> Date: Mon, 8 Oct 2018 03:06:32 +0000 Subject: [PATCH] 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: I4d5de49bfcc5ce8f9c1fb91e848885901894fc0d --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 5539525..da80b6c 100644 --- a/tox.ini +++ b/tox.ini @@ -35,7 +35,7 @@ commands = | xargs flake8 --verbose" [testenv:ansible-lint] -basepython=python2 +basepython=python3 commands = bash ci-scripts/ansible-lint.sh