Skip to content

Enable ruff rule PGH003 #1501

Description

@bearomorphism

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions