Skip to content
Discussion options

You must be logged in to vote

Thanks for the update.

It does work, but with editable install, mypy doesn't find the .pyi file. I don't know what i could do to fix that.

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rgommers
Comment options

Answer selected by moi15moi
@moi15moi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants