From d0d11a5444d52b4ead4165ad2b418943da196b91 Mon Sep 17 00:00:00 2001 From: Ross Patterson Date: Fri, 18 Sep 2020 11:48:49 -0700 Subject: [PATCH] fix(style): Wrong Python version for codechecks On systems where the default Python is Python 3 (such as on recent Debian/Ubuntu versions), then `$ tox -e codechecks` has a ton of failures related to Python 3 compatibility. This explicitly forces it to use Python 2.7 until we have Python 3 compatibility. --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 6bc24273c..c9ec2bb1d 100644 --- a/tox.ini +++ b/tox.ini @@ -80,6 +80,7 @@ commands = [testenv:codechecks] +basepython = python2.7 # On macOS, git inside of towncrier needs $HOME. passenv = HOME whitelist_externals =