ruff
4469b6c4 - [ty] Add new `unused-type-ignore-comment` rule (#22790)

Commit
27 days ago
[ty] Add new `unused-type-ignore-comment` rule (#22790) ## Summary This PR splits the `unused-ignore-comment` into two rules: * `unused-ignore-comment` same as today, but it now only reports unused `ty: ignore` comments * `unused-type-ignore-comment`: New, reports unused `type: ignore` comment The separation allows projects using multiple type checkers to disable `unused-type-ignore-comments` so that ty doesn't complain about `type: ignore` directies that are needed by another type checker. But they can still use `unused-ignore-comments `to be warned about unused `ty: ignore` comments. Fixes https://github.com/astral-sh/ty/issues/2494 ## Test Plan Updated tests --------- Co-authored-by: Carl Meyer <carl@astral.sh>
Author
Parents
Loading