summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMarc Abramowitz <marc@marc-abramowitz.com>2012-05-09 21:44:06 -0700
committerMarc Abramowitz <marc@marc-abramowitz.com>2012-05-09 21:44:06 -0700
commitdb6d31333d07d6ef8c0e364aea5eb8b5853c0449 (patch)
treedd4b5d217ed688b59826d2969b13409efbe226fe /tox.ini
parent3df8635fedb722cad1d0587d7b87d79969030a62 (diff)
downloadpep8-db6d31333d07d6ef8c0e364aea5eb8b5853c0449.tar.gz
Add a tox.ini
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini13
1 files changed, 13 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..1a67bf2
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,13 @@
+# 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, pypy, jython
+
+[testenv]
+commands =
+ {envpython} pep8.py --testsuite testsuite
+ {envpython} pep8.py --repeat --statistics pep8.py
+ {envpython} pep8.py --doctest