Skip to content

CI: add mypy type-checking (incremental / per-module) #73

Description

@turbomam

No mypy step exists in CI. Running mypy --ignore-missing-imports src/linkml_store on main produces hundreds of errors across the codebase, so a blanket gate would break immediately. The practical path is incremental adoption:

  1. Add a mypy.ini or [tool.mypy] section with ignore_errors = true globally.
  2. Add per-module overrides with ignore_errors = false for modules that already pass (start with the stores that have the fewest errors).
  3. Add a CI step that runs mypy against the clean modules only — failures in those modules block merge.
  4. Expand the clean set over time as violations are fixed.

This issue tracks adding the CI step and identifying the initial clean module list. The actual error-fixing can be done in separate PRs.

Related: issue #71 (ruff) is the lower-effort first step.

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