From aef76dba7f5d51702425b69351ee67af950f25c9 Mon Sep 17 00:00:00 2001 From: zaebee Date: Tue, 9 Jun 2026 01:57:29 +0000 Subject: [PATCH] fix(pre-commit): add missing packages to mypy additional_dependencies The mirrors-mypy hook runs in an isolated virtualenv. Without the full dependency set, mypy cannot find tree-sitter, rich, typer, and pytest imports, causing [import-not-found] errors in CI. Added: rich, typer, tree-sitter, tree-sitter-python, tree-sitter-typescript, pytest. Co-Authored-By: Claude Sonnet 4.6 --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 85815ee8..ea3754d9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,3 +15,9 @@ repos: - pydantic>=2.13.4 - structlog>=25.5.0 - types-pyyaml>=6.0.12.20260518 + - rich>=15.0.0 + - typer>=0.26.7 + - tree-sitter>=0.25.2 + - tree-sitter-python>=0.25.0 + - tree-sitter-typescript>=0.23.2 + - pytest>=9.0.3