mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
add flake8 testing
This commit is contained in:
@@ -22,3 +22,8 @@ directory = sphinx/locale/
|
|||||||
|
|
||||||
[wheel]
|
[wheel]
|
||||||
universal = 1
|
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/*
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
flake8
|
||||||
nose
|
nose
|
||||||
mock
|
mock
|
||||||
six>=1.4
|
six>=1.4
|
||||||
|
|||||||
6
tox.ini
6
tox.ini
@@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist=py26,py27,py33,py34,pypy,du12,du11,du10
|
envlist=flake8,py26,py27,py33,py34,pypy,du12,du11,du10
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps=
|
deps=
|
||||||
@@ -45,3 +45,7 @@ deps=
|
|||||||
mock
|
mock
|
||||||
docutils==0.12
|
docutils==0.12
|
||||||
{[testenv]deps}
|
{[testenv]deps}
|
||||||
|
|
||||||
|
[testenv:flake8]
|
||||||
|
deps=flake8
|
||||||
|
commands=flake8
|
||||||
|
|||||||
Reference in New Issue
Block a user