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>
50 lines
440 B
Plaintext
50 lines
440 B
Plaintext
# Nix
|
|
result
|
|
result-*
|
|
.direnv/
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
env/
|
|
venv/
|
|
ENV/
|
|
.venv/
|
|
pip-log.txt
|
|
pip-delete-this-directory.txt
|
|
.tox/
|
|
.coverage
|
|
.coverage.*
|
|
.cache
|
|
.pytest_cache/
|
|
*.egg-info/
|
|
dist/
|
|
build/
|
|
*.egg
|
|
|
|
# SQLite databases
|
|
*.db
|
|
*.db-journal
|
|
*.db-shm
|
|
*.db-wal
|
|
|
|
# Local data directory
|
|
.animaltrack/
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.DS_Store
|
|
|
|
# Local configuration
|
|
.env
|
|
*.local
|
|
.sesskey
|
|
lefthook-local.yml
|