-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Untyped functions content show up in mypy output #11155
Comments
Good question! We don't check unannotated functions without I also agree with its conclusion, |
@hauntsaninja any ideas about the best place for such docs? |
I think that adding a new section here might be a good idea. |
Another option for
|
+1 for inheriting annotated status from enclosing scope. |
Bug Report
For default configuration, violations can be reported in untyped (shouldn't be checked) functions.
To Reproduce
https://mypy-play.net/?mypy=latest&python=3.10&gist=c49b86bc9067f234a038a71598d2b3b7
Expected Behavior
Both
f()
andg()
are untyped - violations shouldn't be reported in any of those.Actual Behavior
Your Environment
mypy-play, as linked above.
The text was updated successfully, but these errors were encountered: