Author: Ronny Pfannschmidt <[email protected]>
Branch:
Changeset: r252:81049c73dc2e
Date: 2014-04-15 00:28 +0200
http://bitbucket.org/pypy/pyrepl/changeset/81049c73dc2e/
Log: tox ini add flake8
diff --git a/tox.ini b/tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -1,8 +1,7 @@
[tox]
-envlist = py26, py27, pypy, py33
+envlist = py27, py33, flake8, pypy
-[pytest]
-codechecks = pep8 pyflakes
+
[testenv]
deps=
@@ -10,3 +9,9 @@
pexpect
commands=
py.test --junitxml={envdir}/junit.xml []
+
+[testenv:flake8]
+deps =
+ flake8
+ mccabe
+commands = flake8 --max-complexity=10 setup.py pyrepl testing pythoni pythoni1
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit