fix: use uv tool run for pre-commit if not global
Metadata
Current evaluation
Merged a fix to use uv tool run for pre-commit when not installed globally. Approved by two reviewers with passing CI. Clarified that uv tracks tools independently, explaining the existing installation message.
Suggested action: —
No scores available.
Issue body
Issue found here: https://github.com/canonical/craft-store/pull/241#pullrequestreview-2502863941
- [ ] Have you followed the guidelines for contributing?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `tox`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged a fix to use uv tool run for pre-commit when not installed globally. Approved by two reviewers with passing CI. Clarified that uv tracks tools independently, explaining the existing installation message. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Updates the setup process to use uv tool run for pre-commit when not installed globally. Maintainer confirmed the installation behavior and messages are correct, resolving reviewer concerns. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #956 fix: make uv plugin re-entrant on code changes | craft-parts | merged | Merged a fix ensuring the uv plugin detects source code changes without requiring a build space cleanup. Approved by three reviewers, passed CI, and applied with minimal changes across three files. |