diff --git a/doc/source/conf.py b/doc/source/conf.py index df8dd0c6c..e78556f46 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -56,6 +56,12 @@ add_module_names = True # The name of the Pygments (syntax highlighting) style to use. 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 -------------------------------------------------- # The theme to use for HTML and HTML Help pages. Major themes that come with diff --git a/ironic_python_agent/hardware.py b/ironic_python_agent/hardware.py index 1d8afbae6..69b47375d 100644 --- a/ironic_python_agent/hardware.py +++ b/ironic_python_agent/hardware.py @@ -775,7 +775,7 @@ class GenericHardwareManager(HardwareManager): :param node: Ironic node object :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_devices = self.list_block_devices() diff --git a/setup.cfg b/setup.cfg index 7c41fc9e6..e8d9f7a8f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -44,12 +44,12 @@ ironic_python_agent.inspector.collectors = [pbr] autodoc_index_modules = True -warnerrors = True [build_sphinx] all_files = 1 build-dir = doc/build source-dir = doc/source +warning-is-error = 1 [egg_info] tag_build =