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 75252e6 commit 98a3b52Copy full SHA for 98a3b52
pylint/checkers/type_annotations.py
@@ -26,13 +26,13 @@ class TypeAnnotationChecker(checkers.BaseChecker):
26
27
name = "type-annotation"
28
msgs = {
29
- "C2901": (
+ "C3801": (
30
"Missing return type annotation for function %r",
31
"missing-return-type-annotation",
32
"Used when a function or method does not have a return type annotation. "
33
"Type annotations improve code readability and help with static type checking.",
34
),
35
- "C2902": (
+ "C3802": (
36
"Missing type annotation for parameter %r in function %r",
37
"missing-param-type-annotation",
38
"Used when a function or method parameter does not have a type annotation. "
0 commit comments