summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/tools/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/tools/tox.ini')
-rw-r--r--testing/web-platform/tests/tools/tox.ini19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/tools/tox.ini b/testing/web-platform/tests/tools/tox.ini
new file mode 100644
index 000000000..a5edd70ad
--- /dev/null
+++ b/testing/web-platform/tests/tools/tox.ini
@@ -0,0 +1,19 @@
+[tox]
+envlist = py27,py35,pypy
+skipsdist=True
+
+[testenv]
+deps =
+ flake8
+ pytest
+ coverage
+ mock
+
+commands =
+ coverage run -m pytest
+ flake8
+
+[flake8]
+ignore = E128,E129,E221,E226,E231,E251,E265,E302,E303,E402,E901,F401,F821,F841
+max-line-length = 141
+exclude = .tox,html5lib,py,pytest,pywebsocket,six,webdriver,wptserve