Motivation
If uv isn't used, we shouldn't add pre-commits which rely on uv run. Instead, we should either use the standard github approach and encourage syncing of versions somehow (as per #408) or just omit from the pre-commit entirely.
Alternatively, perhaps uv should be added as a python dependency and we avoid needing system hooks in the first place - it's worth investigating.
Summary of desired enhancement
If uv isn't used, don't add a pre-commit config relying on uv
Motivation
If
uvisn't used, we shouldn't add pre-commits which rely onuv run. Instead, we should either use the standard github approach and encourage syncing of versions somehow (as per #408) or just omit from the pre-commit entirely.Alternatively, perhaps
uvshould be added as a python dependency and we avoid needing system hooks in the first place - it's worth investigating.Summary of desired enhancement
If
uvisn't used, don't add a pre-commit config relying on uv