From e7d3bd90c1dffcb816bfeed88cc96a2d9a6971f8 Mon Sep 17 00:00:00 2001 From: 98k <18552437190@163.com> Date: Fri, 5 Oct 2018 11:34:09 +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: Ifa8bcc1c1c29551a0ff80edc82699028c8305fe6 Closes-Bug: #1801657 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 2fdd788b91..1d91694219 100644 --- a/tox.ini +++ b/tox.ini @@ -29,6 +29,7 @@ commands = flake8 ./container_config_scripts/ [testenv:flake8] +basepython = python3 commands = flake8 ./container_config_scripts/