Skip to content

Linter: forbid typing.Sequence[str] #22

@JasonMWhite

Description

@JasonMWhite

Since str itself also satisfies typing.Sequence[str], we should forbid this type hint for being ambiguous. typing.List[str] or some other more specific iterable type is preferred.

@cfournie @erikwright

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