Skip to content

How should we do type checking? #916

@cclauss

Description

@cclauss

Describe the feature

Should we be enforcing Python type checking on this project?

Our lint_python GitHub Action currently runs mypy, which finds 77 errors that we ignore via || true.
% uvx ty check # 93 diagnostics
% uvx pyright # 501 errors!
% uvx pyrefly check # 63,944 errors!!!

Should we use one of these four tools without ignoring the errors?
Should we remove the mypy runs that we are currently ignoring?

Additional context

https://blog.edward-li.com/tech/comparing-pyrefly-vs-ty

- run: mypy --ignore-missing-imports --install-types --non-interactive . || true

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