From 5fe0807e5a6eec900e9330ba6fb2921a44500c8f Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Tue, 6 Nov 2018 23:06:03 +0900 Subject: [PATCH] Fix mypy violation --- sphinx/ext/inheritance_diagram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/ext/inheritance_diagram.py b/sphinx/ext/inheritance_diagram.py index 3815f6ba1..e792235bd 100644 --- a/sphinx/ext/inheritance_diagram.py +++ b/sphinx/ext/inheritance_diagram.py @@ -370,7 +370,7 @@ class InheritanceDiagram(SphinxDirective): # references to real URLs later. These nodes will eventually be # removed from the doctree after we're done with them. for name in graph.get_all_class_names(): - refnodes, x = class_role( + refnodes, x = class_role( # type: ignore 'class', ':class:`%s`' % name, name, 0, self.state) node.extend(refnodes) # Store the graph object so we can use it to generate the