Pin pep8 and tidy to Python 2
[integration/test.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 898f0292e2462f07532cd6531555bf0045c39046..7c1dc8a6d8899f42383b3428a9097d67587a6870 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -20,12 +20,14 @@ 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
+    flake8~=3.5.0
 commands = flake8
 
 [flake8]