Automate pylock.toml generation via uv-export pre-commit hook #16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
pylock.toml is committed to the repo but is currently generated manually via uv export. Adding the uv-export pre-commit hook (as done in cang) ensures it is regenerated automatically on every commit that changes dependencies, keeping it in sync with uv.lock.
Findings: cang automates this in two places: a uv-export pre-commit hook, and a bumpversion pre_commit_hooks entry so pylock.toml is also regenerated during version bumps.
Plan: