You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add pyarrow-stubs dependency for proper PyArrow type hints
- Fix type annotations throughout vgi/ to satisfy mypy with stubs
- Add explicit structlog.stdlib.BoundLogger annotations for loggers
- Use TYPE_CHECKING imports for forward references (Scalar types)
- Add from __future__ import annotations for deferred type evaluation
- Fix BufferedReader and PythonFile type annotations
- Achieve 95.78% mypy type coverage (up from ~94%)
- Add pre-commit check reminder to CLAUDE.md (ruff check --fix, format, mypy)
- Centralize test schema helper to tests/utils.py
All 412 tests pass with mypy reporting no issues.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,11 @@ uv run ruff format . # Format
12
12
uv run mypy vgi/ # Type check
13
13
```
14
14
15
+
**Before committing**, always run lint and format checks:
16
+
```bash
17
+
uv run ruff check --fix .&& uv run ruff format .&& uv run mypy vgi/
18
+
```
19
+
15
20
## Project Overview
16
21
17
22
VGI (Vector Gateway Interface) provides an Apache Arrow-based protocol for connecting DuckDB to external programs. It enables user-defined functions to run in separate processes, communicating via stdin/stdout using Arrow IPC streaming.
0 commit comments