ignore the mypy error on possibly failing attribute lookup

This commit is contained in:
Keewis 2020-08-06 13:17:40 +02:00
parent e697242451
commit ca0bd28681

View File

@ -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 = {}