Skip to content

consider non-mypy type checker #4130

Description

@d-v-b

The typeddict extra_items parameter is great for modelling JSON documents with extra keys, because we know that those extra keys will be strings, and the values will be JSON values. Unfortunately, mypy has been extremely slow in adding support for this feature, and it's not clear when it will be available. There are other issues with mypy, such as speed and correctness. So maybe we should look at an alternative. Both ty and pyrefly support typeddict extra items and are getting rapidly developed, so I would like to investigate using one (or both) for type-checking this codebase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions