summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Rodrigues <medecau@gmail.com>2016-07-31 18:54:18 +0100
committerPedro Rodrigues <medecau@gmail.com>2016-07-31 18:54:18 +0100
commitbb9d47b38e50ddc2c5cd05b7af786ac7de4ea9dc (patch)
tree71f171077265a3d4c14ecc57ce65c1380f8d5a2a
parenta9a7fa115af2a32bd45f68a3caee688b4923c242 (diff)
downloadpycco-bb9d47b38e50ddc2c5cd05b7af786ac7de4ea9dc.tar.gz
adds tox
-rw-r--r--.gitignore2
-rw-r--r--tox.ini11
2 files changed, 13 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e1c9655..96b2167 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,5 @@ docs/*
.ropeproject
.DS_Store
+
+.tox \ No newline at end of file
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..67d9a5d
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,11 @@
+[tox]
+envlist = py2,py3,codestyle
+
+[testenv]
+deps = -rrequirements.test.txt
+commands = py.test
+
+[testenv:codestyle]
+deps = pycodestyle
+# E501 - line too long
+commands = pycodestyle --ignore=E501