Skip to content

Python type hints with ty #14457

Description

@cclauss

https://docs.astral.sh/ty seems to find lots of problems with our Python type hints.

ty check \
    --ignore=call-non-callable \
    --ignore=deprecated \
    --ignore=invalid-argument-type \
    --ignore=invalid-assignment \
    --ignore=invalid-return-type \
    --ignore=invalid-type-arguments \
    --ignore=no-matching-overload \
    --ignore=not-iterable \
    --ignore=not-subscriptable \
    --ignore=possibly-missing-submodule \
    --ignore=unresolved-attribute \
    --ignore=unresolved-import

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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