chore(dev): move the dev tools from .venv to .venv-dev
uv uses .venv as its project environment, and `uv sync --frozen` removes every package that is not in uv.lock. The tools the git hooks need would go with it, so they get a directory of their own. Re-running scripts/dev-setup.sh switches the hooks of an older clone and leaves its .venv alone. Ignore rules and prunes cover both directories. Refs: #516 Assisted-by: Claude Code
This commit is contained in:
1 parent
b7b763e1fa
commit
f62097a748
12 files changed
+51
-23
No files matched your search
@@ -11,7 +11,7 @@
|
||||
# Needs the network (PyPI) and the Python of .python-version (python<MINOR>; KAMINO_PYTHON overrides it): the
|
||||
# header of the lock records it, and check_image_versions.py pins fails when it differs.
|
||||
# pip and pip-tools are installed, at the pinned versions below, into a throwaway virtualenv, never
|
||||
# into the project's .venv. pip is pinned too: pip-tools breaks on newer pip releases (7.5.2 on pip 26). Commit
|
||||
# into the project's .venv-dev. pip is pinned too: pip-tools breaks on newer pip releases (7.5.2 on pip 26). Commit
|
||||
# the lock with its requirements file; pip refuses an install of the two when they disagree
|
||||
# (`pip install --require-hashes -r requirements-dev.lock -r requirements-dev.txt`).
|
||||
# The pins are not hash-checked themselves: they come from PyPI over TLS, like the pip that
|
||||
|
||||
Reference in new issue
Block a user