-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add uv check
command to validate pyproject.toml
uv
configuration
#9653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Duplicate of #7639? |
Certainly at least related and along a similar vein. |
We have some other thoughts for a I think we can consider this distinct from #7639 which seemed to focus on checking if the lockfile is up-to-date. |
As reference, I think Cargo calls this command |
Another interesting thing that a |
|
Would it make sense to add some equivalent to
poetry check
intouv
?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:
pyproject.toml
uv lock --locked
)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 ofcheck
command?The text was updated successfully, but these errors were encountered: