Fix mypy violation

This commit is contained in:
Takeshi KOMIYA 2017-06-17 12:10:26 +09:00
parent 9a9a3c6796
commit 6fe4e70974

View File

@ -300,7 +300,7 @@ class BuildEnvironment(object):
be emitted instantly, but collected for emitting all warnings after
the update of the environment.
"""
self.app.warn(msg, location=(docname, lineno), **kwargs)
self.app.warn(msg, location=(docname, lineno), **kwargs) # type: ignore
def warn_node(self, msg, node, **kwargs):
# type: (unicode, nodes.Node, Any) -> None