summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tox.ini9
1 files changed, 9 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index ed9e274..6f6b012 100644
--- a/tox.ini
+++ b/tox.ini
@@ -19,6 +19,15 @@ deps =
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
+[testenv:style]
+deps = flake8
+commands =
+ flake8 --max-complexity 10 jsonschema.py
+ flake8 tests.py
+
+[flake8]
+ignore = E203,E302,E303,E701,F811
+
[testenv:py26]
deps =
{[testenv:notpy33]deps}