You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
myproject/hello.py:docstring of myproject.hello.C:6: WARNING: py:class reference target not found: xarray.core.dataarray.DataArray
myproject/hello.py:docstring of myproject.hello.C:6: WARNING: py:class reference target not found: xarray.core.dataset.Dataset
myproject/hello.py:docstring of myproject.hello.C:8: WARNING: py:class reference target not found: xarray.core.dataarray.DataArray
myproject/hello.py:docstring of myproject.hello.C:8: WARNING: py:class reference target not found: xarray.core.dataset.Dataset
This is caused by sphinx_autodoct_typehints reading DataArray.__module__; however in the interstphinx objects.inv that is overridden by the module that lists the object in __all__:
sphinx-autodoc-typehints is generating a huge amount of errors in my project that uses interphinx.
conf.py:
hello.rst:
hello.py:
sphinx-build output:
This is caused by sphinx_autodoct_typehints reading
DataArray.__module__
; however in the interstphinx objects.inv that is overridden by the module that lists the object in__all__
:This issue is triggered on all packages that define a class in an implementation script and then import it in
__init__.py
, e.g.:impl.py:
__init__.py:
The text was updated successfully, but these errors were encountered: