Skip to content

option to enforce error codes in type: ignore comments #11509

Closed
@DetachHead

Description

@DetachHead

Feature
it would be cool if there was an option like --disallow-ignore-without-code or something that enforces error codes in type: ignore comments

Pitch
# type:ignore comments risk suppressing an unintended error, which is why it's preferred to specify the exact error code you're suppressing

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions