Skip to content

Add MyPy checks and py.typed to enable typings support #174

Closed

Description

@xSAVIKx

While we already have some typings available it may be beneficial to configure MyPy in order to ensure type safety of the codebase as well as add the py.typed file to the repo to allow dependent projects to rely on the provided typings.

I'd say the following items should be covered:

  • Add MyPy pre-commit hook to run MyPy automatically.
  • Add all missing typings across the repository.
  • Add py.typed into the module root.
  • Ensure the MyPy check is required by the CI to merge PRs.

Activity

  1. added
    enhancement
    on Jul 11, 2022
  2. self-assigned this
    on Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions