fix(scripts): make dev-setup.sh check Python, core.hooksPath and the installed hooks
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:
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.
|
||||
Reference in new issue
Block a user