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
For kicks following the merge of #11678, I checked on a module I'm familiar with by disabling the ignores and I see:
scipy/spatial/_spherical_voronoi.py:17: error: Module 'scipy.spatial' has no attribute '_voronoi' [attr-defined]
scipy/spatial/_spherical_voronoi.py:18: error: Module 'scipy.spatial' has no attribute 'cKDTree'; maybe "KDTree"? [attr-defined]
That's because those are Cython extension objects rather than pure Python modules.
Can be suppressed in this way with a simple inline comment--would we want to do this more broadly throughout code base?
Closesscipy#11686.
In the first iteration of the ratchet, we just ignored all missing
imports. This:
- Adds a `mypy_requirements.txt` file that will add the latest version
of the NumPy types and stops ignoring NumPy imports
- Ignores all other third party modules
- Ignores extension modules (for now) since mypy can't find those
without stubs
For kicks following the merge of #11678, I checked on a module I'm familiar with by disabling the ignores and I see:
That's because those are Cython extension objects rather than pure Python modules.
Can be suppressed in this way with a simple inline comment--would we want to do this more broadly throughout code base?
The text was updated successfully, but these errors were encountered: