Skip to content

Ruff ignores nested string annotations #3655

@charliermarsh

Description

@charliermarsh

Mypy respects the use of Path here:

from pathlib import Path

x: """list['Path']""" = []

We consider it an unused import.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions