Skip to content

Add warn_unused_ignores = True to our mypy config #8231

@pradyunsg

Description

@pradyunsg

We should add warn_unused_ignores = True in our mypy global configuration in a follow up PR.

Originally posted by @pradyunsg in #7932 (comment)

This would catch "unused" / redundant # type: ignore comments, and allow us to remove them when they're no longer necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Python 2 onlyPython 2 specificstate: blockedCan not be done until something else is donetype: maintenanceRelated to Development and Maintenance Processes

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions