summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAsk Solem <ask@celeryproject.org>2016-10-11 12:33:31 -0700
committerAsk Solem <ask@celeryproject.org>2016-10-11 12:33:31 -0700
commit836512cadd23c96f23bbb5cd8f4a1bf83c36ab19 (patch)
tree4e308d8dde1d96295de0d2961d31f443fdd02471 /tox.ini
parent4f4738cf63190083517e226b7ff8185415ee525f (diff)
downloadkombu-836512cadd23c96f23bbb5cd8f4a1bf83c36ab19.tar.gz
Adds pydocstyle as a tox target
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini20
1 files changed, 17 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 4beb3809..f57a4ee2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,15 @@
[tox]
-envlist = 2.7,pypy,3.4,3.5,pypy3,flake8,flakeplus,apicheck,cov
+envlist =
+ 2.7
+ pypy
+ 3.4
+ 3.5
+ pypy3
+ flake8
+ flakeplus
+ apicheck
+ pydocstyle
+ cov
[testenv]
sitepackages = False
@@ -12,13 +22,13 @@ deps=
2.7,pypy,jython,cov: -r{toxinidir}/requirements/test-ci-py2.txt
apicheck,linkcheck: -r{toxinidir}/requirements/docs.txt
- flake8,flakeplus: -r{toxinidir}/requirements/pkgutils.txt
+ flake8,flakeplus,pydocstyle: -r{toxinidir}/requirements/pkgutils.txt
commands = pip install -U -r{toxinidir}/requirements/dev.txt
py.test -xv
basepython =
- 2.7,flakeplus,flake8,apicheck,linkcheck,cov: python2.7
+ 2.7,flakeplus,flake8,apicheck,linkcheck,cov,pydocstyle: python2.7
3.3: python3.3
3.4: python3.4
3.5: python3.5
@@ -44,3 +54,7 @@ commands =
[testenv:flakeplus]
commands =
flakeplus --2.7 {toxinidir}/kombu {toxinidir}/t
+
+[testenv:pydocstyle]
+commands =
+ pydocstyle --ignore=D102,D104,D203,D105 kombu