Skip to content

Add uv check command to validate pyproject.toml uv configuration #9653

Open
@johnthagen

Description

@johnthagen

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 a poetry.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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement to existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions