Skip to content

don't include from __future__ import annotations in the output when target_python_version is 3.14 #2518

@DetachHead

Description

@DetachHead

Is your feature request related to a problem? Please describe.
__future__.annotations is no longer necessary as of python 3.14. see https://peps.python.org/pep-0749/#abstract

Describe the solution you'd like
when target_python_version is 3.14, from __future__ import annotations shouldn't be included in the output

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions