Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -7265,6 +7265,12 @@
"fileMatch": ["tunnelhub.yml", "tunnelhub.yaml"],
"url": "https://json.schemastore.org/tunnelhub.json"
},
{
"name": "ty",
"description": "ty, a fast Python type checker",
"fileMatch": ["ty.toml"],
"url": "https://json.schemastore.org/ty.json"
},
{
"name": "Problem object RFC9457",
"description": "Problem object per RFC 9457",
Expand Down
4 changes: 4 additions & 0 deletions src/negative_test/pyproject/ty-invalid-severity.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#:schema ../../schemas/json/pyproject.json
[tool.ty.rules]
# Incorrect severity, should be error
division-by-zero = "err"
5 changes: 5 additions & 0 deletions src/schema-validation.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,7 @@
"poetry.json",
"ruff.json",
"tombi.json",
"ty.json",
"uv.json",
"base.json"
],
Expand Down Expand Up @@ -1025,6 +1026,7 @@
"poetry.json",
"ruff.json",
"tombi.json",
"ty.json",
"uv.json",
"base.json"
],
Expand Down Expand Up @@ -1137,6 +1139,9 @@
"tsoa.json": {
"externalSchema": ["tsconfig.json", "base-04.json"]
},
"ty.json": {
"unknownFormat": ["uint16", "uint8", "uint", "int"]
},
"uv.json": {
"unknownFormat": ["uint16", "uint8", "uint", "int"]
},
Expand Down
30 changes: 30 additions & 0 deletions src/schemas/json/jekyll.json
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,36 @@
},
"default": []
},
"fatal_deprecations": {
"description": "An array of deprecations or versions to treat as fatal.\nhttps://github.com/jekyll/jekyll-sass-converter#configuration-options",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"future_deprecations": {
"description": "An array of active deprecations to ignore.\nhttps://github.com/jekyll/jekyll-sass-converter#configuration-options",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"silence_deprecations": {
"description": "An array of future deprecations to opt into early.\nhttps://github.com/jekyll/jekyll-sass-converter#configuration-options",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1
},
"default": []
},
"sourcemap": {
"description": "Control when source maps shall be generated\nhttps://github.com/jekyll/jekyll-sass-converter#configuration-options",
"type": "string",
Expand Down
5 changes: 5 additions & 0 deletions src/schemas/json/pyproject.json
Original file line number Diff line number Diff line change
Expand Up @@ -893,6 +893,11 @@
"title": "Linter and Formatter",
"description": "An extremely fast Python linter and formatter, written in Rust."
},
"ty": {
"$ref": "https://json.schemastore.org/ty.json",
"title": "Type checker",
"description": "An extremely fast Python type checker, written in Rust."
},
"hatch": {
"$ref": "https://json.schemastore.org/hatch.json",
"title": "Project Manager",
Expand Down
Loading