From 798eead678f0f7dcfc007b5cf26a0051c4bf2efe Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Mon, 19 Jun 2017 01:28:31 +0900 Subject: [PATCH] Fix mypy violation --- sphinx/environment/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/environment/__init__.py b/sphinx/environment/__init__.py index dfbf448e3..de02d453c 100644 --- a/sphinx/environment/__init__.py +++ b/sphinx/environment/__init__.py @@ -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