Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 7c76d15

Browse files
committed
Add linting env to tox.
1 parent 08b0c98 commit 7c76d15

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tox.ini

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py27, py34, py35, pypy
2+
envlist = py27, py34, py35, pypy, lint
33

44
[testenv]
55
deps= -r{toxinidir}/test_requirements.txt
@@ -11,3 +11,8 @@ commands=
1111
[testenv:pypy]
1212
# temporarily disable coverage testing on PyPy due to performance problems
1313
commands= py.test {toxinidir}/test/
14+
15+
[testenv:lint]
16+
basepython=python3.5
17+
deps = flake8==2.5.4
18+
commands = flake8 --max-complexity 10 hyper test

0 commit comments

Comments
 (0)