Skip to content

Standardize traverse union behavior in TypeCheckers. #20529

@PieterCK

Description

@PieterCK

Some TypeCheckers match_annotation implementation doesn't traverse unions, while others do.

Comment from @ntBre:

... I feel like we should probably either always traverse unions or never traverse unions and apply that decision to all of our TypeCheckers rather than keep a mix of them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-decisionAwaiting a decision from a maintainerruleImplementing or modifying a lint rule

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions