mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-01 20:31:12 +00:00
Surface dedicated project.name error for workspaces (#7399)
## Summary An extension of https://github.com/astral-sh/uv/pull/6803 to cover `uv run`.
This commit is contained in:
parent
4aad89cf06
commit
e07281deb3
5 changed files with 37 additions and 16 deletions
|
|
@ -47,7 +47,7 @@ pub enum MetadataError {
|
|||
MailParse(#[from] MailParseError),
|
||||
#[error("Invalid `pyproject.toml`")]
|
||||
InvalidPyprojectTomlSyntax(#[source] toml_edit::TomlError),
|
||||
#[error("`pyproject.toml` is using the `[project]` table, but the required `project.name` is not set.")]
|
||||
#[error("`pyproject.toml` is using the `[project]` table, but the required `project.name` field is not set.")]
|
||||
InvalidPyprojectTomlMissingName(#[source] toml_edit::de::Error),
|
||||
#[error(transparent)]
|
||||
InvalidPyprojectTomlSchema(toml_edit::de::Error),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue