Add doc8 to tox environment checkniceness
Check .txt and .rst documents for common style issues. Change-Id: I3f264ca05538834a5b26ddf76470169f3b9f6dbb
This commit is contained in:
parent
2d04ed1a60
commit
cc9bb9db0f
@ -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
|
||||||
|
4
tox.ini
4
tox.ini
@ -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 =
|
||||||
|
Loading…
Reference in New Issue
Block a user