Skip to content

Test type annotations #40

@robsdedude

Description

@robsdedude

Make sure the redundant parens check also works as expected inside type annotations.

Test with and without from __future__ import annotations (check if it even makes a difference for the tokenizer/ast or not).

E.g., a: (Foo) = Foo()

Preliminary evaluation suggests it's working as expected already. Adding proper unit/integration tests are still a good idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions