-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ANN001 is fired when argument already set (mypy
not complain in such case).
#794
Comments
mypy
not complain in such case).mypy
not complain in such case).
FWIW $ mypy checkANN001.py --strict
checkANN001.py:1: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
Found 1 error in 1 file (checked 1 source file) |
thanks for clarifying i wonder, if it would make sense having such option as a separate check? (in a similar way how self or cls annotation checks were extracted out) |
It could make sense to turn this into a configuration setting, like |
closing because it unlikely to be implemented in mypy: |
The text was updated successfully, but these errors were encountered: