Add doc8 to tox environment docs

Check .rst documents for common style issues.

Change-Id: I66a782355cc3a05b14f344459678d6a8330c0269
This commit is contained in:
Christian Berendt 2014-08-15 16:49:06 +02:00
parent 70918715bf
commit 645208e155
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
hacking>=0.9.2,<0.10
coverage>=3.6
discover
doc8
fixtures>=0.3.14
python-subunit
sphinx>=1.1.2

View File

@ -22,7 +22,9 @@ commands = {posargs}
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx
commands =
doc8 -e .rst doc CONTRIBUTING.rst HACKING.rst README.rst
python setup.py build_sphinx
[flake8]
# H803 skipped on purpose per list discussion.