Skip to content

Commit 4bda5d4

Browse files
authored
Update uv schema to include "all" as a valid option for default-groups (SchemaStore#4623)
1 parent 4b18a93 commit 4bda5d4

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

src/schemas/json/uv.json

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,21 @@
8787
},
8888
"default-groups": {
8989
"description": "The list of `dependency-groups` to install by default.",
90-
"type": ["array", "null"],
91-
"items": {
92-
"$ref": "#/definitions/GroupName"
93-
}
90+
"anyOf": [
91+
{
92+
"type": "array",
93+
"items": {
94+
"$ref": "#/definitions/GroupName"
95+
}
96+
},
97+
{
98+
"type": "string",
99+
"const": "all"
100+
},
101+
{
102+
"type": "null"
103+
}
104+
]
94105
},
95106
"dependency-metadata": {
96107
"description": "Pre-defined static metadata for dependencies of the project (direct or transitive). When provided, enables the resolver to use the specified metadata instead of querying the registry or building the relevant package from source.\n\nMetadata should be provided in adherence with the [Metadata 2.3](https://packaging.python.org/en/latest/specifications/core-metadata/) standard, though only the following fields are respected:\n\n- `name`: The name of the package. - (Optional) `version`: The version of the package. If omitted, the metadata will be applied to all versions of the package. - (Optional) `requires-dist`: The dependencies of the package (e.g., `werkzeug>=0.14`). - (Optional) `requires-python`: The Python version required by the package (e.g., `>=3.10`). - (Optional) `provides-extras`: The extras provided by the package.",

0 commit comments

Comments
 (0)