Skip to content

Commit cff1d6f

Browse files
authored
feat: update pytest. (SchemaStore#5163)
1 parent 6457e86 commit cff1d6f

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

src/schemas/json/partial-pytest.json

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"$id": "https://json.schemastore.org/partial-pytest.json",
44
"description": "JSON schema for pytest configuration options under `[tool.pytest]` in `pyproject.toml`.",
5-
"type": "object",
6-
"x-tombi-table-keys-order": "schema",
75
"oneOf": [
86
{
97
"$ref": "#/definitions/LegacyConfig"
@@ -697,7 +695,6 @@
697695
},
698696
"Config": {
699697
"description": "Direct key configuration with proper TOML types (pytest >=9)\nhttps://docs.pytest.org/en/stable/reference/reference.html#configuration-options",
700-
"type": "object",
701698
"allOf": [
702699
{
703700
"$ref": "#/definitions/ConfigOptionsPytest"
@@ -706,13 +703,14 @@
706703
"$ref": "#/definitions/ConfigOptionsAsyncio"
707704
}
708705
],
709-
"properties": {
710-
"ini_options": {
711-
"not": {}
712-
}
713-
},
714-
"additionalProperties": true,
715-
"x-tombi-table-keys-order": "schema"
706+
"not": {
707+
"type": "object",
708+
"properties": {
709+
"ini_options": {}
710+
},
711+
"additionalProperties": true,
712+
"required": ["ini_options"]
713+
}
716714
},
717715
"ConfigOptionsPytest": {
718716
"type": "object",
@@ -1077,8 +1075,8 @@
10771075
"x-tombi-table-keys-order": "schema"
10781076
},
10791077
"ConfigOptionsAsyncio": {
1080-
"description": "Configuration options for pytest-asyncio.\nhttps://pytest-asyncio.readthedocs.io/en/latest/reference/configuration.html",
10811078
"type": "object",
1079+
"description": "Configuration options for pytest-asyncio.\nhttps://pytest-asyncio.readthedocs.io/en/latest/reference/configuration.html",
10821080
"properties": {
10831081
"asyncio_default_fixture_loop_scope": {
10841082
"$ref": "#/definitions/AsyncioScope",

0 commit comments

Comments
 (0)