summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2012-05-23 10:10:28 -0700
committerFlorent Xicluna <florent.xicluna@gmail.com>2012-05-23 10:10:28 -0700
commit7722deb17d194dc5035932537067ebd3e8b81dc8 (patch)
tree7fbb72c7202e64026a91c52ade8c2fc3912fb418
parent21d99c188c567a0650b15987437bc89dba16111c (diff)
parentb035813d80f4ccca91f499621594edf2f17af9f9 (diff)
downloadpep8-7722deb17d194dc5035932537067ebd3e8b81dc8.tar.gz
Merge pull request #61 from msabramo/tox
Add a tox.ini
-rw-r--r--.gitignore1
-rw-r--r--tox.ini13
2 files changed, 14 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 0428e70..63724ee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
pep8.egg-info
*.pyc
+.tox
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