Skip to content

Add static typing #514

@Timmmm

Description

@Timmmm

As far as I can tell this is missing static types or type stubs.

The best way to do it is to add type hints into the code, then you have to add an empty py.typed file in your package (next to __init__.py).

I would recommend using Pyright over Mypy. It's much better. The easiest way to run/enforce it is using the Pyright pre-commit hook.

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