aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml1
-rw-r--r--setup.cfg3
-rw-r--r--tox.ini7
3 files changed, 11 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index eff8b66..ac1e55c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,7 @@ env:
- TOXENV=py33
- TOXENV=py34
- TOXENV=pypy
+ - TOXENV=flake8
install:
- pip install tox
diff --git a/setup.cfg b/setup.cfg
index 5e40900..119d39f 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,5 @@
[wheel]
universal = 1
+
+[flake8]
+exclude = .tox
diff --git a/tox.ini b/tox.ini
index 246060f..4aa566d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,3 +1,10 @@
+[tox]
+envlist = py27,flake8
+
[testenv]
deps = pytest
commands = py.test {posargs}
+
+[testenv:flake8]
+deps = flake8
+commands = flake8 {posargs}