Skip to content

Add a pre-commit hook which ensures uv.lock is up to date #117

@nathanjmcdougall

Description

@nathanjmcdougall

Motivation
It's possible to de-sync with the lockfile if we don't have a pre-commit check for this.
As a pre-commit hook it can be fixed automatically and also we can check it on CI.

Should look at https://github.com/astral-sh/uv-pre-commit to see if there's a satisfactory solution

Summary of desired enhancement
Ability to check the lockfile is up-to-date in CI and pre-commit.

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions