Commit 15423e74 authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

Stabilize flake8 tests on 3.26 branch

Use basepython=python2 or flake8 installed with python3 will raise "[F821]
undefined name 'buffer'"

Pin flake8 < 3.6 which has new checks that doesn't pass on our current code base.

--HG--
branch : 3.26
parent 1a0159426def
......@@ -18,9 +18,10 @@ commands =
web: {envpython} -m pytest {posargs} {toxinidir}/cubicweb/web/test
[testenv:flake8]
basepython=python2
skip_install = true
deps =
flake8 >= 3.5
flake8 >= 3.5, < 3.6
whitelist_externals =
/bin/sh
commands = /bin/sh -c "flake8 `xargs -a {toxinidir}/flake8-ok-files.txt`"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment