File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -400,11 +400,13 @@ def d(f): return f
400400
401401@d # E: Untyped decorator makes function "x" untyped [untyped-decorator]
402402def x() -> int: return 1
403- @d # type: ignore
403+ @d # type: ignore
404404def y() -> int: return 2
405- @d # type: ignore[untyped-decorator]
405+ @d # type: ignore[untyped-decorator]
406406def best() -> int: return 3
407- @d # E: Untyped decorator makes function "z" untyped [untyped-decorator]
407+ @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
408410def z() -> int: return 4
409411
410412[case testErrorCodeIndexing]
You can’t perform that action at this time.
0 commit comments