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
**A:** Yes! Most modern Jupyter environments (JupyterLab, VS Code notebooks) support
117
+
**A:** Yes! Most modern Jupyter environments (JupyterLab, VSCode notebooks) support
114
118
type checking and will benefit from `scipy-stubs`.
115
119
116
-
### Q: What's the difference between this and the built-in scipy typing?
120
+
### Q: What if I don't use type hints in my code?
117
121
118
-
**A:**SciPy itself has limited type annotations. `scipy-stubs` provides comprehensive,
119
-
precise type information for the entire SciPy API, including shape-typing and advanced type features.
122
+
**A:**You'll still benefit! Your IDE will provide better autocompletion and error detection
123
+
even without explicit type annotations in your code.
120
124
121
125
### Q: How do I know if it's working?
122
126
123
127
**A:** You should see improved autocompletion in your IDE and more precise type information.
124
-
You can also run `pyright` or another type checker on your code to see type checking in action.
125
-
126
-
### Q: How much of SciPy is covered?
127
-
128
-
**A:** All of it! If you find any missing or incorrect type annotations, please open an issue on [GitHub](https://github.com/scipy/scipy-stubs/issues).
129
-
130
-
### Q: What static type-checkers are supported?
131
-
132
-
**A:**`scipy-stubs` is compatible with [`pyright`](https://pyright.readthedocs.io/en/latest/index.html) (a.k.a. pylance),
133
-
[`basedpyright`](https://github.com/DetachHead/basedpyright), and [`mypy`](https://github.com/python/mypy).
134
-
We only support the latest versions of these type-checkers, so make sure to keep them up to date.
128
+
You can also run `mypy`, `pyright` or another type checker on your code to see type checking in action.
0 commit comments