Move doc8 to being a normal test requirement in test-requirements.txt
Change-Id: I6d81cc86d422be359f1b2339943bdfe6067ee5da
This commit is contained in:
@@ -12,6 +12,9 @@ testscenarios>=0.4
|
|||||||
# Used for testing the WBE engine.
|
# Used for testing the WBE engine.
|
||||||
kombu>=3.0.7
|
kombu>=3.0.7
|
||||||
|
|
||||||
|
# Used for doc style checking
|
||||||
|
doc8 # Apache-2.0
|
||||||
|
|
||||||
# Used for testing zookeeper & backends.
|
# Used for testing zookeeper & backends.
|
||||||
zake>=0.1.6 # Apache-2.0
|
zake>=0.1.6 # Apache-2.0
|
||||||
kazoo>=2.2
|
kazoo>=2.2
|
||||||
|
12
tox.ini
12
tox.ini
@@ -19,14 +19,11 @@ deps = -r{toxinidir}/requirements.txt
|
|||||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python2.7
|
|
||||||
deps = {[testenv:py27]deps}
|
|
||||||
commands = python setup.py build_sphinx
|
commands = python setup.py build_sphinx
|
||||||
doc8 doc/source
|
doc8 doc/source
|
||||||
|
|
||||||
[testenv:update-states]
|
[testenv:update-states]
|
||||||
basepython = python2.7
|
deps = {[testenv]deps}
|
||||||
deps = {[testenv:py27]deps}
|
|
||||||
pydot2
|
pydot2
|
||||||
commands = {toxinidir}/tools/update_states.sh
|
commands = {toxinidir}/tools/update_states.sh
|
||||||
|
|
||||||
@@ -43,14 +40,11 @@ deps = {[testenv]deps}
|
|||||||
commands = pylint --rcfile=pylintrc taskflow
|
commands = pylint --rcfile=pylintrc taskflow
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
basepython = python2.7
|
deps = {[testenv]deps}
|
||||||
deps = {[testenv:py27]deps}
|
|
||||||
coverage>=3.6
|
coverage>=3.6
|
||||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
basepython = python2.7
|
|
||||||
deps = {[testenv:py27]deps}
|
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
@@ -63,8 +57,6 @@ import_exceptions = six.moves
|
|||||||
unittest.mock
|
unittest.mock
|
||||||
|
|
||||||
[testenv:py27]
|
[testenv:py27]
|
||||||
deps = {[testenv]deps}
|
|
||||||
doc8
|
|
||||||
commands =
|
commands =
|
||||||
python setup.py testr --slowest --testr-args='{posargs}'
|
python setup.py testr --slowest --testr-args='{posargs}'
|
||||||
sphinx-build -b doctest doc/source doc/build
|
sphinx-build -b doctest doc/source doc/build
|
||||||
|
Reference in New Issue
Block a user