fix(scripts): make dev-setup.sh check Python, core.hooksPath and the installed hooks
Build / build (pull_request) Successful in 8s
Lint / lint (pull_request) Successful in 5s

Require Python 3.11+ (PYTHON selects the interpreter), rebuild a virtualenv made
by an older Python, exit early when core.hooksPath is set, fail clearly when a
hook was not installed, and resolve the hook path with --path-format=absolute.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
This commit is contained in:
Defame1297andClaude Sonnet 5.5 committed 2026-10-25 18:20:47 +00:00
1 parent 32018e27f0
commit 4ed03b508a
2 files changed
+35 -3

No files matched your search

@@ -0,0 +1,4 @@
trivial:
- >-
scripts/dev-setup.sh checks for Python 3.11 or newer (PYTHON selects one), rebuilds an older
virtualenv, and fails early when core.hooksPath is set or the hooks are missing.