From 6724dd65a6d255b3aaaf67c32217580097b02285 Mon Sep 17 00:00:00 2001 From: Heiko Thiery Date: Tue, 17 Dec 2024 07:39:13 +0100 Subject: [PATCH] docs: fix flake8 warnings Signed-off-by: Heiko Thiery --- bin/supported_cmds.py | 1 - docs/source/conf.py | 18 ++++++++---------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/bin/supported_cmds.py b/bin/supported_cmds.py index fe8820a4..806a7464 100644 --- a/bin/supported_cmds.py +++ b/bin/supported_cmds.py @@ -71,6 +71,5 @@ def main(): print(data) - if __name__ == '__main__': main() diff --git a/docs/source/conf.py b/docs/source/conf.py index 80eb693a..d910a8fe 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -32,14 +32,14 @@ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = ['sphinx.ext.autodoc', - 'sphinx.ext.doctest', - 'sphinx.ext.intersphinx', - 'sphinx.ext.todo', - 'sphinx.ext.coverage', - 'sphinx.ext.ifconfig', - 'sphinx.ext.viewcode', - 'sphinx.ext.githubpages', - 'sphinx.ext.graphviz'] + 'sphinx.ext.doctest', + 'sphinx.ext.intersphinx', + 'sphinx.ext.todo', + 'sphinx.ext.coverage', + 'sphinx.ext.ifconfig', + 'sphinx.ext.viewcode', + 'sphinx.ext.githubpages', + 'sphinx.ext.graphviz'] # Add any paths that contain templates here, relative to this directory. templates_path = ['ytemplates'] @@ -162,7 +162,5 @@ ] - - # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = {'https://docs.python.org/': None}