-
Notifications
You must be signed in to change notification settings - Fork 10
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
is it possible to generate .pyi file #96
Comments
Seems like this thread has some info on how to do it: pybind/pybind11#2350 I don't have time to look at this right now but would accept a PR if you figure it out. Otherwise it will have to wait until I have more free time. |
I tried mypy's stubgen and pybind11_stubgen. The former works. And simple enough
gives a pretty will result. |
Hi, I tried this but am getting the following error (on version 6.0):
Which version/commit does it work on? Thanks! |
Getting same error as @adwait, I've installed the nightly build to see if the fix is there but doesn't seem like it yet |
It seems like the LSP needs .pyi file to achieve functions like completion.
The text was updated successfully, but these errors were encountered: