mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix mypy violation
This commit is contained in:
parent
9a9a3c6796
commit
6fe4e70974
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user