-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
typing.no_type_check_decorator is not stubbed in typeshed #2884
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
Comments
Yes, we should add it to typeshed. You are right though that type checkers like mypy will need to do additional work in order to make this decorator actually work. |
Is this just going to be |
I'd prefer if we make it closer to its runtime implementation, which I think would be something like:
|
This was added in #3460 |
https://docs.python.org/3/library/typing.html#typing.no_type_check_decorator
I assume this also needs mypy support, as
no_type_check
is hardcoded there, but including in typeshed feels like a prereq.The text was updated successfully, but these errors were encountered: