-
|
I'm trying to use stubgen to generate the stub file and install it in my project like this: If I try to create a wheel (ex: I don't understand what the error means. |
Beta Was this translation helpful? Give feedback.
Answered by
rgommers
Nov 9, 2025
Replies: 1 comment 2 replies
-
|
Oh, I just found out. It does work, but with editable install, mypy doesn't find the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the update.
Nothing, unfortunately. The designs/PEPs for editable installs (needs an import hook which executes code) and the requirements for static typing tools (tool authors do not want to execute any code) conflict, so there is nothing we can fix here. See gh-555 for a discussion.
You should be able to run Mypy on a regular install though.