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

Consider add typing system for parselmouth? Maybe some stub files? #138

Open
fncokg opened this issue Jan 17, 2025 · 0 comments
Open

Consider add typing system for parselmouth? Maybe some stub files? #138

fncokg opened this issue Jan 17, 2025 · 0 comments

Comments

@fncokg
Copy link

fncokg commented Jan 17, 2025

It's sometimes useful to enable the typing system for static type checking. However, currently, parselmouth does not support typing system so that we can only see parselmouth objects as Any types, which is harmful for all the other codes that have been annotated types.

To enable the typing system of parselmouth via stub files is extremely easy: all we need is to do some modifications on the stubgen-generated stub files and this is also the choice of numpy, scipy, pandas etc.

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

No branches or pull requests

1 participant