Skip to content

Commit 928c14f

Browse files
authored
Update pyproject.json to change array and table key order to version-sort (SchemaStore#4812)
Co-authored-by: ya7010 <[email protected]>
1 parent f6cd98d commit 928c14f

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/schemas/json/pyproject.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"key": "https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-build-system-dependencies-the-build-system-table"
6464
}
6565
},
66-
"x-tombi-array-values-order": "ascending",
66+
"x-tombi-array-values-order": "version-sort",
6767
"examples": ["setuptools >= 64.0"]
6868
},
6969
"build-backend": {
@@ -93,7 +93,7 @@
9393
"key": "https://peps.python.org/pep-0517/#in-tree-build-backends"
9494
}
9595
},
96-
"x-tombi-table-keys-order": "ascending"
96+
"x-tombi-table-keys-order": "version-sort"
9797
}
9898
}
9999
}
@@ -318,7 +318,7 @@
318318
"key": "https://peps.python.org/pep-0639/#add-license-files-key"
319319
}
320320
},
321-
"x-tombi-array-values-order": "ascending"
321+
"x-tombi-array-values-order": "version-sort"
322322
},
323323
"authors": {
324324
"type": "array",
@@ -364,7 +364,7 @@
364364
"key": "https://packaging.python.org/en/latest/specifications/pyproject-toml/#keywords"
365365
}
366366
},
367-
"x-tombi-array-values-order": "ascending"
367+
"x-tombi-array-values-order": "version-sort"
368368
},
369369
"classifiers": {
370370
"type": "array",
@@ -380,7 +380,7 @@
380380
"key": "https://packaging.python.org/en/latest/specifications/pyproject-toml/#classifiers"
381381
}
382382
},
383-
"x-tombi-array-values-order": "ascending"
383+
"x-tombi-array-values-order": "version-sort"
384384
},
385385
"urls": {
386386
"type": "object",
@@ -397,7 +397,7 @@
397397
"key": "https://packaging.python.org/en/latest/specifications/pyproject-toml/#urls"
398398
}
399399
},
400-
"x-tombi-table-keys-order": "ascending",
400+
"x-tombi-table-keys-order": "version-sort",
401401
"examples": [
402402
{
403403
"homepage": "https://example.com/example-project"
@@ -423,7 +423,7 @@
423423
"key": "https://packaging.python.org/en/latest/specifications/entry-points/#use-for-scripts"
424424
}
425425
},
426-
"x-tombi-table-keys-order": "ascending",
426+
"x-tombi-table-keys-order": "version-sort",
427427
"examples": [
428428
{
429429
"mycmd": "package.module:object.function"
@@ -444,7 +444,7 @@
444444
"key": "https://packaging.python.org/en/latest/specifications/entry-points/#use-for-scripts"
445445
}
446446
},
447-
"x-tombi-table-keys-order": "ascending",
447+
"x-tombi-table-keys-order": "version-sort",
448448
"examples": [
449449
{
450450
"mycmd": "package.module:object.function"
@@ -483,7 +483,7 @@
483483
"key": "https://packaging.python.org/en/latest/specifications/entry-points/#use-for-plugins"
484484
}
485485
},
486-
"x-tombi-table-keys-order": "ascending",
486+
"x-tombi-table-keys-order": "version-sort",
487487
"examples": [
488488
{
489489
"pygments.styles": {
@@ -506,12 +506,12 @@
506506
"key": "https://packaging.python.org/en/latest/specifications/pyproject-toml/#dependencies-optional-dependencies"
507507
}
508508
},
509-
"x-tombi-array-values-order": "ascending",
509+
"x-tombi-array-values-order": "version-sort",
510510
"examples": [["attrs", "requests ~= 2.28"]]
511511
},
512512
"optional-dependencies": {
513513
"type": "object",
514-
"x-tombi-table-keys-order": "ascending",
514+
"x-tombi-table-keys-order": "version-sort",
515515
"patternProperties": {
516516
"^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9._-]*[a-zA-Z0-9])$": {
517517
"type": "array",
@@ -561,7 +561,7 @@
561561
"title": "Dynamic metadata values",
562562
"description": "Specifies which keys are intentionally unspecified under `[project]` table so build backend can/will provide such metadata dynamically. Each key must be listed only once. It is an error to both list a key in `dynamic` and use the key directly in `[project]`.\nOne of the most common usage is `version`, which allows build backend to retrieve project version from source code or version control system instead of hardcoding it in `pyproject.toml`.",
563563
"markdownDescription": "Specifies which keys are intentionally unspecified under `[project]` table so build backend can/will provide such metadata dynamically. Each key must be listed only once. It is an error to both list a key in `dynamic` and use the key directly in `[project]`.\nOne of the most common usage is `version`, which allows build backend to retrieve project version from source code or version control system instead of hardcoding it in `pyproject.toml`.",
564-
"x-tombi-array-values-order": "ascending",
564+
"x-tombi-array-values-order": "version-sort",
565565
"x-intellij-html-description": "<p>Specifies which keys are intentionally unspecified under <code>[project]</code> table so build backend can/will provide such metadata dynamically. Each key must be listed only once. It is an error to both list a key in <code>dynamic</code> and use the key directly in <code>[project]</code>.</p><p>One of the most common usage is <code>version</code>, which allows build backend to retrieve project version from source code or version control system instead of hardcoding it in <code>pyproject.toml</code>.</p>",
566566
"x-taplo": {
567567
"links": {
@@ -817,7 +817,7 @@
817817
"description": "Named groups of dependencies, similar to `requirements.txt` files, which launchers, IDEs, and other tools can find and identify by name. Each item in `[dependency-groups]` is defined as mapping of group name to list of [dependency specifiers](https://packaging.python.org/en/latest/specifications/dependency-specifiers/).",
818818
"markdownDescription": "Named groups of dependencies, similar to `requirements.txt` files, which launchers, IDEs, and other tools can find and identify by name. Each item in `[dependency-groups]` is defined as mapping of group name to list of [dependency specifiers](https://packaging.python.org/en/latest/specifications/dependency-specifiers/).",
819819
"x-intellij-html-description": "<p>Named groups of dependencies, similar to <code>requirements.txt</code> files, which launchers, IDEs, and other tools can find and identify by name. Each item in <code>[dependency-groups]</code> is defined as mapping of group name to list of <a href=\"https://packaging.python.org/en/latest/specifications/dependency-specifiers/\">dependency specifiers</a>.</p>",
820-
"x-tombi-table-keys-order": "ascending",
820+
"x-tombi-table-keys-order": "version-sort",
821821
"x-taplo": {
822822
"links": {
823823
"key": "https://peps.python.org/pep-0735/"
@@ -832,7 +832,7 @@
832832
"description": "Each list item should be either:\n- [dependency specifiers](https://packaging.python.org/en/latest/specifications/dependency-specifiers/), or\n- table with a single key `include-group` which specifies another group name to include into this one",
833833
"markdownDescription": "Each list item should be either:\n- [dependency specifiers](https://packaging.python.org/en/latest/specifications/dependency-specifiers/), or\n- table with a single key `include-group` which specifies another group name to include into this one",
834834
"x-intellij-html-description": "<p>Each list item should be either:</p><ul><li><a href=\"https://packaging.python.org/en/latest/specifications/dependency-specifiers/\">dependency specifiers</a>, or</li><li>table with a single key <code>include-group</code> which specifies another group name to include into this one</li></ul>",
835-
"x-tombi-array-values-order": "ascending",
835+
"x-tombi-array-values-order": "version-sort",
836836
"items": {
837837
"oneOf": [
838838
{
@@ -871,7 +871,7 @@
871871
"key": "https://packaging.python.org/en/latest/specifications/pyproject-toml/#arbitrary-tool-configuration-the-tool-table"
872872
}
873873
},
874-
"x-tombi-table-keys-order": "ascending",
874+
"x-tombi-table-keys-order": "version-sort",
875875
"properties": {
876876
"black": {
877877
"$ref": "https://json.schemastore.org/partial-black.json",

0 commit comments

Comments
 (0)