summaryrefslogtreecommitdiff
path: root/third_party/pep8/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/pep8/tox.ini')
-rw-r--r--third_party/pep8/tox.ini15
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/pep8/tox.ini b/third_party/pep8/tox.ini
new file mode 100644
index 00000000000..50a0d007b75
--- /dev/null
+++ b/third_party/pep8/tox.ini
@@ -0,0 +1,15 @@
+# Tox (http://codespeak.net/~hpk/tox/) is a tool for running tests
+# in multiple virtualenvs. This configuration file will run the
+# test suite on all supported python versions. To use it, "pip install tox"
+# and then run "tox" from this directory.
+
+[tox]
+envlist = py26, py27, py32, py33, py34, pypy, jython
+
+[testenv]
+commands =
+ {envpython} setup.py install
+ {envpython} pep8.py --testsuite testsuite
+ {envpython} pep8.py --statistics pep8.py
+ {envpython} pep8.py --doctest
+ {envpython} -m testsuite.test_all