mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
ignore the mypy error on possibly failing attribute lookup
This commit is contained in:
parent
e697242451
commit
ca0bd28681
@ -1132,7 +1132,7 @@ class NumpyDocstring(GoogleDocstring):
|
||||
|
||||
"""
|
||||
try:
|
||||
inventory = self._app.builder.env.intersphinx_inventory
|
||||
inventory = self._app.builder.env.intersphinx_inventory # type: ignore
|
||||
except AttributeError:
|
||||
inventory = {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user