Skip to content

Commit eb3b242

Browse files
authored
fix uv config-settings value type (SchemaStore#4648)
1 parent 5167838 commit eb3b242

File tree

2 files changed

+6
-19
lines changed

2 files changed

+6
-19
lines changed

src/schemas/json/uv.json

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -478,28 +478,14 @@
478478
"oneOf": [
479479
{
480480
"description": "The value consists of a single string.",
481-
"type": "object",
482-
"required": ["String"],
483-
"properties": {
484-
"String": {
485-
"type": "string"
486-
}
487-
},
488-
"additionalProperties": false
481+
"type": "string"
489482
},
490483
{
491484
"description": "The value consists of a list of strings.",
492-
"type": "object",
493-
"required": ["List"],
494-
"properties": {
495-
"List": {
496-
"type": "array",
497-
"items": {
498-
"type": "string"
499-
}
500-
}
501-
},
502-
"additionalProperties": false
485+
"type": "array",
486+
"items": {
487+
"type": "string"
488+
}
503489
}
504490
]
505491
},
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#:schema ../../schemas/json/pyproject.json
22
[tool.uv]
3+
config-settings = { editable_mode = "compat" }
34

45
[tool.uv.pip]
56
index-url = "https://test.pypi.org/simple"

0 commit comments

Comments
 (0)