-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
No type hints detected by mypy
: module is installed, but missing library stubs or py.typed marker
#4806
Comments
we haven't tested mypy deeply, but generally speaking, we only support pyright, other type checkers may have incomplete or wrong types, i might investigate this later |
Hello, adding an empty file This file is a standard:
|
Can confirm simply adding that one file to the reflex root package clears out the warnings. |
Here are the exact steps I did:
But issues like #3374 make me think that mypy was working already for them, so maybe I'm just missing something?
What's most surprising is that the installed reflex package does have the
.pyi
files 🤔edit: After thinking about it, I definitely should have used the
bug
issue template, sorry about that.. I can re-create it if you needThe text was updated successfully, but these errors were encountered: