Skip to content

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

chore: add mypy to pre-commit hooks

chopratejas67631fecfc0c
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 4975f90d7..b124868f2 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -7,3 +7,11 @@ repos:
exclude: ^experiments/
- id: ruff-format
exclude: ^experiments/
+ - repo: https://github.com/pre-commit/mirrors-mypy
+ rev: v1.14.1
+ hooks:
+ - id: mypy
+ args: [--ignore-missing-imports]
+ exclude: ^experiments/
+ pass_filenames: false
+ entry: mypy headroom