You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a pybind11-based library that uses capsules (pybind11::capsule). When I try to use the stubs generated by pybind11-stubgen with mypy, I'm getting a lot of errors like the following:
stubs/_pymargo-stubs/__init__.pyi:318: error: Name "capsule" is not defined
This can be fixed by manually adding the "capsule" class to init.pyi, but it would be better if pybind11-stubgen could do it by itself.
The text was updated successfully, but these errors were encountered:
I have a pybind11-based library that uses capsules (
pybind11::capsule
). When I try to use the stubs generated by pybind11-stubgen with mypy, I'm getting a lot of errors like the following:This can be fixed by manually adding the "capsule" class to init.pyi, but it would be better if pybind11-stubgen could do it by itself.
The text was updated successfully, but these errors were encountered: