Pin pep8 and tidy to Python 2 92/81892/1
authorThanh Ha <zxiiro@gmail.com>
Fri, 3 May 2019 16:04:08 +0000 (12:04 -0400)
committerThanh Ha <zxiiro@gmail.com>
Fri, 3 May 2019 16:04:12 +0000 (12:04 -0400)
The code in the repository has not been updated to pass Python 3
linting. Pin the Python version to 2 for now.

Change-Id: Ied5d4b77886ad065be07f624fbab317e24d493cf
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index 03b6434dd96950a1f0799b6ffe18ef756e9371df..7c1dc8a6d8899f42383b3428a9097d67587a6870 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -20,10 +20,12 @@ commands =
     sphinx-build -W -n -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
 
 [testenv:tidy]
+basepython = python2
 deps = robotframework
 commands = python ./tools/robot_check/tidytool.py diff csit tools
 
 [testenv:pep8]
+basepython = python2
 deps =
     flake8~=3.5.0
 commands = flake8