Add flake8 linting as a testenv

This commit is contained in:
Ian Cordasco 2016-01-10 14:53:26 -06:00
parent 8c872c4bb9
commit 629f796fc1

13
tox.ini
View file

@ -1,5 +1,6 @@
[tox]
envlist = py26,py27,py32,py33,py34,py35
minversion=2.3.1
envlist = py26,py27,py32,py33,py34,py35,flake8
[testenv]
deps =
@ -8,6 +9,16 @@ deps =
commands =
py.test {posargs}
[testenv:flake8]
skipsdist = true
skip_install = true
use_develop = false
deps =
flake8
flake8-docstrings
commands =
flake8
[flake8]
# Ignore some flake8-docstrings errors
ignore = D203