Skip to content

review and fix deprecated typing aliases #363

Description

@micpap25

Codebase uses deprecated typing imports.

Ex. 1: ast.py L14: from typing import List, Optional, Union, Tuple
List and Tuple could be replaced with built-ins, and arguably Union could be replaced with | and Optional could be reveiwed.

Ex. 2: base.py L25: from typing import Iterator, Optional, Sequence, TypeVar
Iterator and Sequence should be imported from collections.abc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions