Add doc8 to the py27 test running

To ensure the docs are style checked add in doc8 to the
py27 tox environment so that the docs will be checked.

This also adjusts the one issue that was found in one
of the rst files.

Change-Id: Iea38d4ac53d9c5255e0694a840c38b04530890ce
Joshua Harlow 2014-09-15 10:37:27 -07:00
parent 3981a3a300
commit 781fb760a6
2 changed files with 12 additions and 3 deletions

View File

@ -1,6 +1,6 @@
Creating A Coordinator
The principal object provided by tooz is the *coordinator*. It allows you to
use various features, such as group membership, leader election or

View File

@ -16,12 +16,21 @@ deps = -r{toxinidir}/requirements.txt
commands = {posargs}
deps = {[testenv]deps}
commands = bash -x {toxinidir}/ python testr --slowest --testr-args="{posargs}"
doc8 doc/source
commands =
bash -x {toxinidir}/ python testr --slowest --coverage --testr-args="{posargs}"
commands = python build_sphinx
deps = {[testenv]deps}
commands = doc8 doc/source
python build_sphinx
deps = hacking>=0.9.2,<0.10