summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2013-04-26 18:35:36 -0400
committerJulian Berman <Julian@GrayVines.com>2013-04-26 18:35:36 -0400
commit98495484cba0f44ecc51fe1eb9b0ba0b44edc6dd (patch)
tree1ce9baed673687c119d5c40b5431af7f1b70fb79 /tox.ini
parent21ad7282f5f696a43fd6740cb1ec1b40c5252b6d (diff)
downloadjsonschema-98495484cba0f44ecc51fe1eb9b0ba0b44edc6dd.tar.gz
Flake8 because I'm sadistic.
Diffstat (limited to 'tox.ini')
-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}