Open
Description
Would it make sense to add some equivalent to poetry check
into uv
?
The idea is that you can add this to CI and if a PR makes any change to the uv
configuration that is invalid, this will fail the CI.
Looking at Poetry's implementation:
It currently validates:
- The Poetry configuration in
pyproject.toml
- Trove classifiers are valid
- That READMEs that should exist do
- Dependency sources
- Lock file freshness (i.e.,
uv lock --locked
) - Optionally with
poetry check --lock
verify that apoetry.lock
exists (e.g., that someone didn't accidentally delete it)
In general, most of these checks are useful to enforce in CI for many projects. Would it make sense for uv
to have an equivalent of some kind of check
command?