-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create_baseline_stubs.py
script does not add default values
#10126
Comments
Yeah, really this should be added to stubgen, but in the meantime, I wouldn't be opposed to adding a stubdefaulter step to |
Given that stubdefaulter is only avaiable from github, it won't be cached by pip. Meaning if I add it to Or ask @JelleZijlstra to publish the tool on PyPI. But if usage in Thoughts? |
https://pypi.org/project/stubdefaulter/0.1.0/ Oops, I missed the description. I guess that's for 0.2.0 :) |
Awesome. |
As title says. Now that typeshed prefers having default values, it would make sense if the
create_baseline_stubs.py
script added them.Maybe that would be stubgen's job?
For now I'm running https://github.com/JelleZijlstra/stubdefaulter manually as I am moving stubs out of https://github.com/microsoft/python-type-stubs, but I don't think that's even documented/mentioned in the contributing guidelines.
The text was updated successfully, but these errors were encountered: