Skip to content

Commit 28df3af

Browse files
committed
Add linting stage to tox.ini
1 parent 7975f5d commit 28df3af

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tox.ini

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py26,py27
2+
envlist = py26,py27,linting
33

44

55
[testenv]
@@ -15,3 +15,10 @@ deps=pytest<3.3
1515
twisted<15.5
1616
commands=py.test []
1717
sitepackages=False
18+
19+
[testenv:linting]
20+
deps=flake8
21+
commands=flake8
22+
23+
[flake8]
24+
ignore=N802

0 commit comments

Comments
 (0)