Commit 6f7a160
fix: configure ty type checker to find project dependencies
- Add python = ".venv" to [tool.ty.environment] in pyproject.toml
This tells ty where to find installed dependencies when running
in pre-commit's isolated environment
- Switch from local ty hook to ty-pre-commit remote hook
Simplifies configuration and uses official ty pre-commit hook
- Add worktrees/ to .gitignore
Prevents git worktree directories from being tracked
- Fix import ordering in exceptions.py (ruff auto-fix)
- Add type ignore comment in test_api_endpoints.py (ty fix)
This resolves ty type checker errors where it couldn't resolve
imports for dependencies like advanced_alchemy, sqlalchemy, etc.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 3000206 commit 6f7a160
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
| 367 | + | |
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| |||
0 commit comments