diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2014-09-15 10:37:27 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2014-09-16 16:44:41 -0700 |
commit | 781fb760a63c0ce84940b5e55e2afd4077ede6b6 (patch) | |
tree | f30db254942f8ab2b97ebad19bfc126e998ece27 | |
parent | 3981a3a3003b1d7df380f39c9ac1451e716a0c18 (diff) | |
download | tooz-781fb760a63c0ce84940b5e55e2afd4077ede6b6.tar.gz |
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
-rw-r--r-- | doc/source/tutorial/coordinator.rst | 4 | ||||
-rw-r--r-- | tox.ini | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/doc/source/tutorial/coordinator.rst b/doc/source/tutorial/coordinator.rst index 3712846..78688d4 100644 --- a/doc/source/tutorial/coordinator.rst +++ b/doc/source/tutorial/coordinator.rst @@ -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 @@ -16,12 +16,21 @@ deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = {posargs} +[testenv:py27] +deps = {[testenv]deps} + doc8 +commands = bash -x {toxinidir}/setup-test-env.sh python setup.py testr --slowest --testr-args="{posargs}" + doc8 doc/source + [testenv:cover] commands = bash -x {toxinidir}/setup-test-env.sh python setup.py testr --slowest --coverage --testr-args="{posargs}" [testenv:docs] -commands = python setup.py build_sphinx +deps = {[testenv]deps} + doc8 +commands = doc8 doc/source + python setup.py build_sphinx [testenv:pep8] deps = hacking>=0.9.2,<0.10 |