Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Addscipy-stubs as dev dependency#5249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
emilykl commentedNov 17, 2025
@jorenham Thanks for the contribution! We try to keep our dev dependencies pretty minimal and only include packages which are strictly required for the dev process. If you want to make a case for how specifically to use |
jorenham commentedNov 18, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
It's a stub-package, so there's no need touse it; once installed, the benefits I listed above will automatically come into effect. So no config or code changes required. |
This adds
scipy-stubsas an optional development dependency. It can help quite a bit with IDE supports, such as autocompletion and introspection. It requires no configuration or mypy plugins, and there's zero runtime impact. So even if you don't care about typing annotations, you can view this as a free DX improvement :)