aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/inheritance_diagram.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-02-23 11:14:30 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-02-23 12:26:43 +0100
commit8eb16d198d189b2ca4e7e400ba45626471e0e982 (patch)
tree4b4d74f14e5b66bd8319485d79d4f8fd972fe0b7 /sources/pyside6/doc/inheritance_diagram.py
parent732be9c2d39ff85b16720821eb29a4ef8e87ab85 (diff)
Documentation: Fix flake8 warnings in documentation scripts
Pick-to: 6.6 Change-Id: I5323989df5e489f28eb69593597329ff86b2b614 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/doc/inheritance_diagram.py')
-rw-r--r--sources/pyside6/doc/inheritance_diagram.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/sources/pyside6/doc/inheritance_diagram.py b/sources/pyside6/doc/inheritance_diagram.py
index d1e095ce6..9150ea54b 100644
--- a/sources/pyside6/doc/inheritance_diagram.py
+++ b/sources/pyside6/doc/inheritance_diagram.py
@@ -37,7 +37,6 @@ r"""
:license: BSD, see LICENSE for details.
"""
-import sys
try:
from hashlib import md5
except ImportError:
@@ -49,10 +48,7 @@ from docutils.parsers.rst import directives, Directive
from sphinx.ext.graphviz import render_dot_html, render_dot_latex
from inheritance_graph import InheritanceGraph
-from import_inheritance import (get_inheritance_entries_by_import,
- InheritanceException)
-from json_inheritance import (is_inheritance_from_json_enabled,
- get_inheritance_entries_from_json)
+from import_inheritance import (InheritanceException)
class inheritance_diagram(nodes.General, nodes.Element):