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 263b93f commit ed20c35Copy full SHA for ed20c35
1 file changed
test-data/unit/check-errorcodes.test
@@ -400,11 +400,13 @@ def d(f): return f
400
401
@d # E: Untyped decorator makes function "x" untyped [untyped-decorator]
402
def x() -> int: return 1
403
-@d # type: ignore
+@d # type: ignore
404
def y() -> int: return 2
405
-@d # type: ignore[untyped-decorator]
+@d # type: ignore[untyped-decorator]
406
def best() -> int: return 3
407
-@d # E: Untyped decorator makes function "z" untyped [untyped-decorator]
+@d # type: ignore[misc] # E: Unused "type: ignore" comment [unused-ignore] \
408
+ # E: Untyped decorator makes function "z" untyped [untyped-decorator] \
409
+ # N: Error code "untyped-decorator" not covered by "type: ignore" comment
410
def z() -> int: return 4
411
412
[case testErrorCodeIndexing]
0 commit comments