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

Automatic Stub Generation #75

Open
Curve opened this issue Mar 27, 2024 · 1 comment
Open

Automatic Stub Generation #75

Curve opened this issue Mar 27, 2024 · 1 comment
Assignees

Comments

@Curve
Copy link
Member

Curve commented Mar 27, 2024

#74 introduced python stub files which are currently manually generated.

We should adopt some way of automatically generating those stub files either through the pyproject.toml or through the Github-CI, and somehow include them from the pyproject.toml instead of using a shell script

Some references:

@Curve Curve self-assigned this Mar 27, 2024
@tobre1
Copy link
Member

tobre1 commented Mar 27, 2024

I have experienced some issues with mypy stubgen, where some classes are not typed correctly. Therefore I have added the current stub files which I edited manually.

Would be interesting to see if pybind11-stubgen does a better job.

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

2 participants