Skip to content

Conversation

@jorenham
Copy link

This adds scipy-stubs as 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 :)

@gvwilson gvwilson self-requested a review June 26, 2025 18:14
@gvwilson gvwilson self-assigned this Jun 26, 2025
@gvwilson gvwilson added feature something new P1 needed for current cycle community community contribution labels Jun 26, 2025
@emilykl
Copy link
Contributor

emilykl commented Nov 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 scipy-stubs in the dev process, we are open to it; that info should be added to CONTRIBUTING.md.

@jorenham
Copy link
Author

jorenham commented Nov 18, 2025

If you want to make a case for how specifically to use scipy-stubs in the dev process, we are open to it; that info should be added to CONTRIBUTING.md.

It's a stub-package, so there's no need to use it; once installed, the benefits I listed above will automatically come into effect. So no config or code changes required.
So it's not something that contributors even need to know about for them to be able to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community community contribution feature something new P1 needed for current cycle

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants