From e3ac8c34392cd75256ca0fc1dcc30101c85f68df Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Thu, 24 Jul 2014 16:25:53 -0400 Subject: Add flake8 to the tox test environment --- .travis.yml | 1 + setup.cfg | 3 +++ tox.ini | 7 +++++++ 3 files changed, 11 insertions(+) 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} -- cgit v1.2.3