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 @@ -6351,6 +6351,12 @@
"fileMatch": ["tombi.toml", "**/tombi/config.toml"],
"url": "https://www.schemastore.org/tombi.json"
},
{
"name": "tox",
"description": "tox configuration for automating Python testing and task management",
"fileMatch": ["tox.toml"],
"url": "https://raw.githubusercontent.com/tox-dev/tox/main/src/tox/tox.schema.json"
},
{
"name": "TextMate Grammar",
"description": "Language grammar description files for TextMate and compatible editors",
Expand Down
2 changes: 2 additions & 0 deletions src/negative_test/tox/tox-invalid-type.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#:schema ../../schemas/json/tox.json
env_list = 42
5 changes: 5 additions & 0 deletions src/schema-validation.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@
"partial-poetry.json", // pyproject.json[tool.poetry]
"partial-repo-review.json", // pyproject.json[tool.repo-review]
"partial-tox.json", // pyproject.json[tool.tox]
"tox.json",
"partial-eslint-plugins.json", // eslintrc.json[rules.*]
"partial-fusion-pack-metadata.json", // minecraft-pack-mcmeta.json[fusion]
"partial-fusion-texture-metadata.json", // minecraft-texture-mcmeta.json[fusion]
Expand Down Expand Up @@ -1096,6 +1097,9 @@
"partial-pdm.json": {
"externalSchema": ["partial-pdm-dockerize.json"]
},
"partial-tox.json": {
"externalSchema": ["tox.json"]
},
"partial-poetry.json": {
"externalSchema": ["base.json"]
},
Expand Down Expand Up @@ -1182,6 +1186,7 @@
"partial-setuptools-scm.json",
"partial-taskipy.json",
"partial-tox.json",
"tox.json",
"poetry.json",
"ruff.json",
"tombi.json",
Expand Down
6 changes: 5 additions & 1 deletion src/schemas/json/partial-tox.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"title": "Tox configuration in pyproject.toml",
"description": "Schema for the [tool.tox] section in pyproject.toml",
"type": "object",
"additionalProperties": true,
"allOf": [
{
"$ref": "https://json.schemastore.org/tox.json"
}
],
"properties": {
"legacy_tox_ini": {
"type": "string",
Expand Down
Loading