summaryrefslogtreecommitdiff
path: root/sphinx/ext/graphviz.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-10-16 02:17:32 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-10-16 09:43:58 +0900
commita77f3519fa11793f939e4a28947e57df9afde793 (patch)
tree07ace712b6137c3a878ff6ab309bbefbd35397dc /sphinx/ext/graphviz.py
parent8c56fd87479291e2e6b901d3ed44e889d27801da (diff)
downloadsphinx-git-a77f3519fa11793f939e4a28947e57df9afde793.tar.gz
Fix mypy violations
Diffstat (limited to 'sphinx/ext/graphviz.py')
-rw-r--r--sphinx/ext/graphviz.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/ext/graphviz.py b/sphinx/ext/graphviz.py
index cf606f3b7..5ed39cfcf 100644
--- a/sphinx/ext/graphviz.py
+++ b/sphinx/ext/graphviz.py
@@ -60,7 +60,7 @@ class ClickableMapDefinition(object):
def parse(self, dot=None):
# type: (unicode) -> None
- matched = self.maptag_re.match(self.content[0]) # type: ignore
+ matched = self.maptag_re.match(self.content[0])
if not matched:
raise GraphvizError('Invalid clickable map file found: %s' % self.filename)
@@ -73,7 +73,7 @@ class ClickableMapDefinition(object):
self.content[0] = self.content[0].replace('%3', self.id)
for line in self.content:
- if self.href_re.search(line): # type: ignore
+ if self.href_re.search(line):
self.clickable.append(line)
def generate_clickable_map(self):