Skip to content

Commit

Permalink
Add uv configuration to SchemaStore
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed May 8, 2024
1 parent feba3a0 commit 066842a
Show file tree
Hide file tree
Showing 6 changed files with 699 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -4321,6 +4321,12 @@
],
"url": "https://raw.githubusercontent.com/evg4b/uncors/main/schema.json"
},
{
"name": "uv",
"description": "uv, a fast Python package installer",
"fileMatch": ["uv.toml"],
"url": "https://json.schemastore.org/uv.json"
},
{
"name": "vega.json",
"description": "Vega visualization specification file",
Expand Down
2 changes: 2 additions & 0 deletions src/negative_test/pyproject/uv-bad-index-url.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tool.uv.pip]
index-url = 1
4 changes: 4 additions & 0 deletions src/schema-validation.json
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,7 @@
"partial-setuptools.json",
"poetry.json",
"ruff.json",
"uv.json",
"base.json"
],
"unknownFormat": [
Expand Down Expand Up @@ -935,6 +936,9 @@
"uproject.json": {
"unknownKeywords": ["markdownDescription"]
},
"uv.json": {
"unknownFormat": ["uint16", "uint8", "uint", "int"]
},
"vega.json": {
"unknownKeywords": ["defs", "refs", "numItems"]
},
Expand Down
3 changes: 3 additions & 0 deletions src/schemas/json/pyproject.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@
},
"pyright": {
"$ref": "https://json.schemastore.org/partial-pyright.json"
},
"uv": {
"$ref": "https://json.schemastore.org/uv.json"
}
},
"examples": [
Expand Down
Loading

0 comments on commit 066842a

Please sign in to comment.