Skip to content

Commit 8e95c40

Browse files
committed
Add flake8 to tox
1 parent 1afb3a8 commit 8e95c40

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

tox.ini

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = cp{26,27,33,34,35},pp{2,3},cp26-win
2+
envlist = cp{26,27,33,34,35},pp{2,3},cp26-win,flake8
33
minversion=2.7
44

55
[testenv]
@@ -52,3 +52,16 @@ commands =
5252
# The tox environment for cp33 needs a specific set of base
5353
# dependencies for wheel, pip and setuptools
5454
deps = -rcp33-tox-requirements.txt
55+
56+
[testenv:flake8]
57+
basepython = python3
58+
skip_install = true
59+
deps = flake8
60+
commands = flake8
61+
62+
[flake8]
63+
exclude =
64+
.tox,
65+
.git,
66+
__pycache__,
67+
docs/source/conf.py

0 commit comments

Comments
 (0)