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

Add type information and docstrings for IDEs #3

Merged
merged 2 commits into from
Sep 23, 2024
Merged

Conversation

CSNWEB
Copy link
Contributor

@CSNWEB CSNWEB commented Sep 18, 2024

Hello,

I think this could be useful for autocomplete and type hints in IDEs, I tested it locally with maturin and VS Code and it seems to work. I initially generated the file with https://github.com/Jij-Inc/pyo3-stub-gen, but had to manually add the None default values, so this file can't be regenerated until someone fixes that.

@CSNWEB CSNWEB changed the title Add type information and docstrings Add type information and docstrings for IDEs Sep 18, 2024
@jcmgray
Copy link
Owner

jcmgray commented Sep 23, 2024

Thanks! Sorry I missed this PR when it was filed.. seems like a good addition.

@jcmgray jcmgray merged commit de2d0f4 into jcmgray:main Sep 23, 2024
12 checks passed
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