Move doc8 to being a normal test requirement in test-requirements.txt

Change-Id: I6d81cc86d422be359f1b2339943bdfe6067ee5da
This commit is contained in:
Joshua Harlow 2015-07-15 22:58:44 -07:00
parent 78ac726b0d
commit da28e4c904
2 changed files with 5 additions and 10 deletions

View File

@ -12,6 +12,9 @@ testscenarios>=0.4
# Used for testing the WBE engine.
kombu>=3.0.7
# Used for doc style checking
doc8 # Apache-2.0
# Used for testing zookeeper & backends.
zake>=0.1.6 # Apache-2.0
kazoo>=2.2

12
tox.ini
View File

@ -19,14 +19,11 @@ deps = -r{toxinidir}/requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:docs]
basepython = python2.7
deps = {[testenv:py27]deps}
commands = python setup.py build_sphinx
doc8 doc/source
[testenv:update-states]
basepython = python2.7
deps = {[testenv:py27]deps}
deps = {[testenv]deps}
pydot2
commands = {toxinidir}/tools/update_states.sh
@ -43,14 +40,11 @@ deps = {[testenv]deps}
commands = pylint --rcfile=pylintrc taskflow
[testenv:cover]
basepython = python2.7
deps = {[testenv:py27]deps}
deps = {[testenv]deps}
coverage>=3.6
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:venv]
basepython = python2.7
deps = {[testenv:py27]deps}
commands = {posargs}
[flake8]
@ -63,8 +57,6 @@ import_exceptions = six.moves
unittest.mock
[testenv:py27]
deps = {[testenv]deps}
doc8
commands =
python setup.py testr --slowest --testr-args='{posargs}'
sphinx-build -b doctest doc/source doc/build