Add doc8 to tox environment checkniceness

Check .txt and .rst documents for common style issues.

Change-Id: I3f264ca05538834a5b26ddf76470169f3b9f6dbb
This commit is contained in:
Christian Berendt 2014-08-13 11:41:26 +02:00 committed by Andreas Jaeger
parent 2d04ed1a60
commit cc9bb9db0f
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,5 @@
Jinja2 Jinja2
doc8
openstack-doc-tools>=0.18.1 openstack-doc-tools>=0.18.1
sphinx>=1.1.2,!=1.2.0,<1.3 sphinx>=1.1.2,!=1.2.0,<1.3
oslosphinx oslosphinx

View File

@ -22,7 +22,9 @@ commands = {posargs}
commands = openstack-doc-test --check-links {posargs} commands = openstack-doc-test --check-links {posargs}
[testenv:checkniceness] [testenv:checkniceness]
commands = openstack-doc-test --check-niceness {posargs} commands =
openstack-doc-test --check-niceness {posargs}
doc8 -e .rst -e .txt doc
[testenv:checksyntax] [testenv:checksyntax]
commands = commands =