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:
- Add a
mypy.ini or [tool.mypy] section with ignore_errors = true globally.
- Add per-module overrides with
ignore_errors = false for modules that already pass (start with the stores that have the fewest errors).
- Add a CI step that runs
mypy against the clean modules only — failures in those modules block merge.
- 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.
No mypy step exists in CI. Running
mypy --ignore-missing-imports src/linkml_storeon main produces hundreds of errors across the codebase, so a blanket gate would break immediately. The practical path is incremental adoption:mypy.inior[tool.mypy]section withignore_errors = trueglobally.ignore_errors = falsefor modules that already pass (start with the stores that have the fewest errors).mypyagainst the clean modules only — failures in those modules block merge.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.