Fix mypy violation

This commit is contained in:
Takeshi KOMIYA 2017-06-19 01:28:31 +09:00
parent db88166a3f
commit 798eead678

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