Skip to content

Commit f43284f

Browse files
tox ini add flake8
1 parent a9a9f96 commit f43284f

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

tox.ini

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
[tox]
2-
envlist = py26, py27, pypy, py33
2+
envlist = py27, py33, flake8, pypy
3+
34

4-
[pytest]
5-
codechecks = pep8 pyflakes
65

76
[testenv]
87
deps=
98
pytest
109
pexpect
1110
commands=
1211
py.test --junitxml={envdir}/junit.xml []
12+
13+
[testenv:flake8]
14+
deps =
15+
flake8
16+
mccabe
17+
commands = flake8 --max-complexity=10 setup.py pyrepl testing pythoni pythoni1

0 commit comments

Comments
 (0)