We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5baea2e commit 431e33fCopy full SHA for 431e33f
mypy/errorcodes.py
@@ -60,7 +60,9 @@ def __hash__(self) -> int:
60
"call-overload", "Check that an overload variant matches arguments", "General"
61
)
62
VALID_TYPE: Final = ErrorCode("valid-type", "Check that type (annotation) is valid", "General")
63
-NONETYPE_TYPE: Final = ErrorCode("nonetype-type", "Check that type (annotation) is not NoneType", "General")
+NONETYPE_TYPE: Final = ErrorCode(
64
+ "nonetype-type", "Check that type (annotation) is not NoneType", "General"
65
+)
66
VAR_ANNOTATED: Final = ErrorCode(
67
"var-annotated", "Require variable annotation if type can't be inferred", "General"
68
0 commit comments