We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Mypy complains if I call a no_type_check function above the definition:
no_type_check
import typing def f() -> None: foo() # Error: Cannot determine type of 'foo' @typing.no_type_check def foo(x: {1:2}) -> [1]: 1 + 'x'
We should detect no_type_check during semantic analysis and set the type of the Decorator object to Any there, before type checking.
Decorator
Any
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Mypy complains if I call a
no_type_check
function above the definition:We should detect
no_type_check
during semantic analysis and set the type of theDecorator
object toAny
there, before type checking.The text was updated successfully, but these errors were encountered: