mirror of
https://github.com/astral-sh/uv
synced 2026-01-22 22:10:11 -05:00
Allow unknown pyproject.toml fields (#3511)
Fixes #3510, we use typo error messages though. Tested manually by adding `[tool.uv.pip]`, we should add proper tests for this feature.
This commit is contained in:
@@ -109,7 +109,6 @@ pub struct Tool {
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
#[serde(deny_unknown_fields)]
|
||||
pub struct ToolUv {
|
||||
pub sources: Option<HashMap<PackageName, Source>>,
|
||||
pub workspace: Option<ToolUvWorkspace>,
|
||||
@@ -117,7 +116,6 @@ pub struct ToolUv {
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
#[serde(deny_unknown_fields)]
|
||||
pub struct ToolUvWorkspace {
|
||||
pub members: Option<Vec<SerdePattern>>,
|
||||
pub exclude: Option<Vec<SerdePattern>>,
|
||||
|
||||
Reference in New Issue
Block a user