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 ce1d1ef commit cae911dCopy full SHA for cae911d
test-data/unit/check-errorcodes.test
@@ -73,6 +73,12 @@ def some_function(x: int) -> int:
73
x = lenn # E: Name "lenn" is not defined; did you mean "len"? [name-defined]
74
[builtins fixtures/len.pyi]
75
76
+[case testErrorCodeUndefinedNameSuggestionIgnored]
77
+my_variable = 42
78
+x = my_variabel # type: ignore[name-defined]
79
+y = my_variabel # type: ignore
80
+[builtins fixtures/module.pyi]
81
+
82
[case testErrorCodeUnclassifiedError]
83
class A:
84
def __init__(self) -> int: \
0 commit comments