chore: migrate to lefthook for git hooks

Replace custom bash pre-commit hook with lefthook for:
- Parallel execution of ruff + pytest
- Quieter output (pytest -q instead of -v)
- Version-controlled config (lefthook.yml)
- Smart skipping when no .py files staged

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-01 07:50:57 +00:00
parent c8f348621f
commit 64bb99aa64
3 changed files with 17 additions and 0 deletions

1
.gitignore vendored
View File

@@ -46,3 +46,4 @@ build/
.env
*.local
.sesskey
lefthook-local.yml