Skip to content

Commit

Permalink
Add flake8 checks to tox
Browse files Browse the repository at this point in the history
  • Loading branch information
treyhunner committed May 25, 2013
1 parent 30a1a72 commit 1d4f7ad
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ envlist =
py27-1.3, py27-1.4, py27-1.5, py27-trunk,
py32-1.5, py32-trunk,
py33-1.5, py33-trunk,
docs
docs, flake8


[testenv]
Expand All @@ -18,6 +18,15 @@ deps =
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html


[flake8]
ignore = N802
max-complexity = 10
exclude = __init__.py

[testenv:flake8]
deps = flake8
commands = flake8 simple_history

[testenv:py26-1.3]
basepython = python2.6
deps =
Expand Down

0 comments on commit 1d4f7ad

Please sign in to comment.