add flake8 testing

This commit is contained in:
shimizukawa 2015-03-07 15:45:43 +09:00
parent bc6df36d37
commit caed7faa19
3 changed files with 11 additions and 1 deletions

View File

@ -22,3 +22,8 @@ directory = sphinx/locale/
[wheel]
universal = 1
[flake8]
max-line-length=90
ignore=W503,E111,E114,E115,E116,E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E202,E203,E205,E221,E222,E225,E226,E231,E241,E251,E261,E262,E265,E266,E271,E301,E302,E303,E401,E402,E501,E502,E625,E701,E703,E704,E711,E712,E713,E721,E731,E901,E902,F401,F402,F403,F812,F821,F841
exclude=utils/*,tests/*,build/*

View File

@ -1,3 +1,4 @@
flake8
nose
mock
six>=1.4

View File

@ -1,5 +1,5 @@
[tox]
envlist=py26,py27,py33,py34,pypy,du12,du11,du10
envlist=flake8,py26,py27,py33,py34,pypy,du12,du11,du10
[testenv]
deps=
@ -45,3 +45,7 @@ deps=
mock
docutils==0.12
{[testenv]deps}
[testenv:flake8]
deps=flake8
commands=flake8