-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Closed
Labels
Description
I am having trouble adding numpy_typing to my project to use with mypy. Numpy docs explains that a mypy plugin is distributed with numpy.typing plugin.
Reproducing code example:
mypy.ini
[mypy]
plugins = numpy.typing.mypy_plugin
Error message:
Running mypy, I get this errror:
Error importing plugin 'numpy.typing.mypy_plugin': No module named 'numpy.typing
NumPy/Python version information:
1.19.4 3.8.5 (default, May 27 2021, 13:30:53)
[GCC 9.3.0]