-
Notifications
You must be signed in to change notification settings - Fork 52
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
Contribute all good stuff to mypy.stubgenc and freeze this repo #31
Comments
FWIW, I like the smallness of this dependency. Just copy a single file to a repo and we're good to go. :) |
Finally I've managed to make some progress here (see https://github.com/sizmailov/mypy/tree/enhance-stubgenc-pybind-compatibility). Hopefully I'll be able to split mentioned branch into a couple of PRs and make it's way to official mypy repo. I'll keep this issue update along the progress with PRs. Comments/reviews as always are very welcome. |
First PR is merged 🎉 python/mypy#9877 |
thanks for the good work @sizmailov !! :) |
Great work. Please keep it on! |
@sizmailov are you also planning on contributing your docstring parsing? Currently, the stubs from mypy don't have docstrings and there's an open issue suggesting it could be an added option. |
Sorry, I don't have time/plans to contribute to mypy in foreseeable future. |
Please don't give up :) I'm using your codebase to create documentation stubs: I want to publish docs on readthedocs but don't want to build the pybind binary there (in fact I can't because it's MSVC-only...). Just tweaking a few lines was all that was necessary for this use case |
I didn't return to the problem for quite some time and I'm not planning to in foreseeable future. So closing as not planned. |
Out of curiosity: What exactly is the relationship between this implementation and |
@bluenote10 Initially, I was unsatisfied with how At some point, I thought it would be nice to avoid the responsibility of solely maintaining a package with long-standing bugs/feature requests, so I've contributed a few features to I think there is a need for
I believe |
At the point when
mypy.stubgen
(or other) will be able to generate full-featured stubs for pybind11 there would be no need in this tool.Things to ship:
The text was updated successfully, but these errors were encountered: