Skip to content

problems with list warnings #6

@xoolive

Description

@xoolive

In some cases, lists shouldn't raise warnings:

a1: Annotated(list[float], "m")   # should raise a warning
a2: Annotated(list[float], "m") = []  # should raise a warning
a3 = []  # should not raise a warning

x: "m"
a4 = [x]  # should raise a warning

y: "ft"
y, *_ = a4  # does not convert units

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