Skip to content
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

Complete type hints for public API #15

Merged
merged 3 commits into from
Apr 19, 2024

Conversation

AlexWaygood
Copy link
Contributor

@AlexWaygood AlexWaygood commented Apr 19, 2024

This PR fills in type annotations for the parameters in minimize() that are currently unannotated.

If you're not all that interested in typing then obviously feel free to close this :-) but it would be a minor quality-of-life improvement for me -- currently pyright --strict complains whenever I use this function, due to some of the parameters not have type annotations ;-)

@15r10nk 15r10nk merged commit a1120c0 into 15r10nk:main Apr 19, 2024
1 check passed
@AlexWaygood AlexWaygood deleted the complete-typing branch April 19, 2024 17:39
@15r10nk
Copy link
Owner

15r10nk commented Apr 19, 2024

Thank you for finding this. I want to type my interfaces but I somehow forgot it here. Typing the whole implementation is currently not my goal.

@15r10nk
Copy link
Owner

15r10nk commented Apr 19, 2024

New release next week, I have a busy weekend 😉

@AlexWaygood
Copy link
Contributor Author

New release next week, I have a busy weekend 😉

Enjoy! No rush :-)

@15r10nk
Copy link
Owner

15r10nk commented Apr 23, 2024

new pysource-minimize/codegen releases are out. Thank you for your contributions ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants