Closed
Description
If you don't mind the extra effort and want better safety, I recommend enabling the ruff
rule PGH003.
It enforces that all type: ignore
comments must specify a clear scope, rather than ignoring all type checks.
For more details on the drawbacks, please refer to the explanation in the ruff
documentation above.
Originally posted by @gbaian10 in #1466 (comment)
Activity
[-]If you don't mind the extra effort and want better safety, I recommend enabling the `ruff` rule [PGH003](https://docs.astral.sh/ruff/rules/blanket-type-ignore/).[/-][+]Enable `ruff` rule PGH003[/+]bearomorphism commentedon Jun 8, 2025
I can quickly implement this.
Lee-W commentedon Jun 9, 2025
Close as 4.8.3 released