Enable some doc8 tests
Enable doc8 on openstack-firstapp directory but disable checks for overlong lines. Change-Id: Ia2b385fc8b2bbd379086b00e6681a599ac5b317f
This commit is contained in:
parent
a7f81113f5
commit
5b7e98b33f
@ -2,6 +2,7 @@
|
||||
# of appearance. Changing the order has an impact on the overall integration
|
||||
# process, which may cause wedges in the gate later.
|
||||
openstack-doc-tools>=0.23
|
||||
doc8 # Apache-2.0
|
||||
Pygments
|
||||
docutils<=0.9.1
|
||||
sphinx>=1.1.2,<1.2
|
||||
|
13
tox.ini
13
tox.ini
@ -17,7 +17,9 @@ commands = {posargs}
|
||||
commands = openstack-doc-test --check-links {posargs}
|
||||
|
||||
[testenv:checkniceness]
|
||||
commands = openstack-doc-test --check-niceness {posargs}
|
||||
commands =
|
||||
openstack-doc-test --check-niceness {posargs}
|
||||
doc8 openstack-firstapp
|
||||
|
||||
[testenv:checksyntax]
|
||||
commands =
|
||||
@ -89,3 +91,12 @@ commands = sphinx-build -E -W -t openstacksdk openstack-firstapp/doc/source open
|
||||
|
||||
[testenv:openstack-firstapp-todos]
|
||||
commands = sphinx-build -E -W -t libcloud openstack-firstapp/doc/source openstack-firstapp/build/html
|
||||
|
||||
[doc8]
|
||||
# Settings for doc8:
|
||||
# Ignore target directories
|
||||
ignore-path = openstack-firstapp/build*
|
||||
# File extensions to use
|
||||
extensions = .rst,.txt
|
||||
# Ignore lines longer than 79 chars
|
||||
ignore = D001
|
||||
|
Loading…
x
Reference in New Issue
Block a user