tox: don't enable global site package
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Tue, 13 Nov 2018 16:55:28 +0100
changeset 375 eb137026a817
parent 374 2dfdaf654cc7
child 376 b6a67bf7b0ee
tox: don't enable global site package So we don't rely on external flake8 and always test against the latest version
tox.ini
--- a/tox.ini	Tue Nov 13 16:53:53 2018 +0100
+++ b/tox.ini	Tue Nov 13 16:55:28 2018 +0100
@@ -2,7 +2,6 @@
 envlist = py27,flake8
 
 [testenv]
-sitepackages = True
 deps =
   pytest
   cubicweb-sioc
@@ -11,15 +10,11 @@
 
 [testenv:flake8]
 skip_install = true
-whitelist_externals =
-  flake8
 deps =
   flake8
 commands = flake8
 [testenv:flake8-jenkins]
 skip_install = true
-whitelist_externals =
-  flake8
 deps =
   flake8
 commands = flake8 --exit-zero --show-source --output-file=code_quality.log {toxinidir}