summaryrefslogtreecommitdiff
path: root/sphinx/ext/graphviz.py
diff options
context:
space:
mode:
authordanieleades <33452915+danieleades@users.noreply.github.com>2022-08-28 20:03:17 +0100
committerGitHub <noreply@github.com>2022-08-28 20:03:17 +0100
commit12bff8a27368a8fbddd0b4f364726cb58b5219ac (patch)
treebf9a499bf358eb7657b91ec4f38e67a37fa69467 /sphinx/ext/graphviz.py
parent2b02173617cbf1c334f8f908f07391c9f09712b5 (diff)
downloadsphinx-git-12bff8a27368a8fbddd0b4f364726cb58b5219ac.tar.gz
Remove unneeded `noqa` lint suppression comments (#10772)
Diffstat (limited to 'sphinx/ext/graphviz.py')
-rw-r--r--sphinx/ext/graphviz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/graphviz.py b/sphinx/ext/graphviz.py
index 0459c4a96..c950da20b 100644
--- a/sphinx/ext/graphviz.py
+++ b/sphinx/ext/graphviz.py
@@ -224,7 +224,7 @@ def render_dot(self: SphinxTranslator, code: str, options: Dict, format: str,
return relfn, outfn
if (hasattr(self.builder, '_graphviz_warned_dot') and
- self.builder._graphviz_warned_dot.get(graphviz_dot)): # type: ignore # NOQA
+ self.builder._graphviz_warned_dot.get(graphviz_dot)): # type: ignore
return None, None
ensuredir(path.dirname(outfn))