Remove pbr warnerrors in favor of sphinx check
This change removes the now unused "warnerrors" setting, which is replaced by "warning-is-error" in sphinx releases >= 1.5 [1]. [1] http://lists.openstack.org/pipermail/openstack-dev/ 2017-March/113085.html Change-Id: I9bf18ff72f36dfd3496b9672604e8bb98999b133
This commit is contained in:
parent
af9caeeaae
commit
667ad45615
@ -56,6 +56,12 @@ add_module_names = True
|
|||||||
# The name of the Pygments (syntax highlighting) style to use.
|
# The name of the Pygments (syntax highlighting) style to use.
|
||||||
pygments_style = 'sphinx'
|
pygments_style = 'sphinx'
|
||||||
|
|
||||||
|
# Ignore the following warning: WARNING: while setting up extension
|
||||||
|
# wsmeext.sphinxext: directive 'autoattribute' is already registered,
|
||||||
|
# it will be overridden.
|
||||||
|
suppress_warnings = ['app.add_directive']
|
||||||
|
|
||||||
|
|
||||||
# -- Options for HTML output --------------------------------------------------
|
# -- Options for HTML output --------------------------------------------------
|
||||||
|
|
||||||
# The theme to use for HTML and HTML Help pages. Major themes that come with
|
# The theme to use for HTML and HTML Help pages. Major themes that come with
|
||||||
|
@ -775,7 +775,7 @@ class GenericHardwareManager(HardwareManager):
|
|||||||
|
|
||||||
:param node: Ironic node object
|
:param node: Ironic node object
|
||||||
:param ports: list of Ironic port objects
|
:param ports: list of Ironic port objects
|
||||||
:raises BlockDeviceEraseError when there's an error erasing the
|
:raises BlockDeviceEraseError: when there's an error erasing the
|
||||||
block device
|
block device
|
||||||
"""
|
"""
|
||||||
block_devices = self.list_block_devices()
|
block_devices = self.list_block_devices()
|
||||||
|
@ -44,12 +44,12 @@ ironic_python_agent.inspector.collectors =
|
|||||||
|
|
||||||
[pbr]
|
[pbr]
|
||||||
autodoc_index_modules = True
|
autodoc_index_modules = True
|
||||||
warnerrors = True
|
|
||||||
|
|
||||||
[build_sphinx]
|
[build_sphinx]
|
||||||
all_files = 1
|
all_files = 1
|
||||||
build-dir = doc/build
|
build-dir = doc/build
|
||||||
source-dir = doc/source
|
source-dir = doc/source
|
||||||
|
warning-is-error = 1
|
||||||
|
|
||||||
[egg_info]
|
[egg_info]
|
||||||
tag_build =
|
tag_build =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user