Skip to content

Type-annotate this codebase #326

@wojcikstefan

Description

@wojcikstefan

This whole codebase should use type annotations. There shouldn't be any untyped definitions.

We should:

  1. Make sure mypy is set up in a way that disallows untyped definitions.
    • Code can be annotated incrementally by adding exceptions per module to the config and removing them over time.
  2. Make sure mypy runs in CI.
  3. (Ideally) Make sure the codebase is also compatible with Ty (even if the enforcement is left to mypy still).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions