Replace pep257 with pydocstyle

This commit is contained in:
Roman Mogilatov 2016-02-28 16:01:20 +02:00
parent b53c1bbffe
commit 71b820487e
2 changed files with 9 additions and 9 deletions

View File

@ -8,7 +8,7 @@ env:
- TOXENV=coveralls - TOXENV=coveralls
- TOXENV=pylint - TOXENV=pylint
- TOXENV=flake8 - TOXENV=flake8
- TOXENV=pep257 - TOXENV=pydocstyle
- TOXENV=py26 - TOXENV=py26
- TOXENV=py27 - TOXENV=py27
- TOXENV=py33 - TOXENV=py33

16
tox.ini
View File

@ -1,6 +1,6 @@
[tox] [tox]
envlist= envlist=
coveralls, pylint, flake8, pep257, py26, py27, py33, py34, py35, pypy, pypy3 coveralls, pylint, flake8, pydocstyle, py26, py27, py33, py34, py35, pypy, pypy3
[testenv] [testenv]
deps= deps=
@ -14,7 +14,7 @@ deps=
{[testenv]deps} {[testenv]deps}
coverage coverage
flake8 flake8
pep257 pydocstyle
commands= commands=
coverage erase coverage erase
coverage run --rcfile=./.coveragerc -m unittest2 discover tests [] coverage run --rcfile=./.coveragerc -m unittest2 discover tests []
@ -23,8 +23,8 @@ commands=
flake8 --max-complexity=10 dependency_injector/ flake8 --max-complexity=10 dependency_injector/
flake8 --max-complexity=10 examples/ flake8 --max-complexity=10 examples/
pep257 dependency_injector/ pydocstyle dependency_injector/
pep257 examples/ pydocstyle examples/
[testenv:coveralls] [testenv:coveralls]
basepython=python2.7 basepython=python2.7
@ -53,10 +53,10 @@ commands=
flake8 --max-complexity=10 dependency_injector/ flake8 --max-complexity=10 dependency_injector/
flake8 --max-complexity=10 examples/ flake8 --max-complexity=10 examples/
[testenv:pep257] [testenv:pydocstyle]
basepython=python2.7 basepython=python2.7
deps= deps=
pep257 pydocstyle
commands= commands=
pep257 dependency_injector/ pydocstyle dependency_injector/
pep257 examples/ pydocstyle examples/