From 7532ee4eb379078f204460324d7257c1db84c389 Mon Sep 17 00:00:00 2001 From: Donald Stufft Date: Fri, 5 Dec 2014 20:54:56 -0500 Subject: Enable flake8 style checks --- tox.ini | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 09b4bc8..6602901 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py26,py27,pypy,py32,py33,py34 +envlist = py26,py27,pypy,py32,py33,py34,pep8,py3pep8 [testenv] # If you add a new dep here you probably need to add it in setup.py as well @@ -8,3 +8,25 @@ deps = pytest commands = py.test --strict {posargs} + +[testenv:pep8] +deps = + flake8 + flake8-import-order + pep8-naming +commands = + flake8 . + +[testenv:py3pep8] +basepython = python3.3 +deps = + flake8 + flake8-import-order + pep8-naming +commands = + flake8 . + +[flake8] +exclude = .tox,*.egg +select = E,W,F,N,I +application-import-names = bcrypt,tests -- cgit v1.2.1