From 39e1be2c78907e6231d174d28197d17dac6ae7e4 Mon Sep 17 00:00:00 2001 From: yassun7010 <47286750+yassun7010@users.noreply.github.com> Date: Tue, 25 Feb 2025 06:33:03 +0900 Subject: [PATCH] feat: add "x-tombi-table-keys-order-by" to pyproject.toml (#4485) * feat: add "x-tombi-table-keys-order-by" to pyproject.toml * fix: ci. --- src/schema-validation.jsonc | 1 + src/schemas/json/pyproject.json | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/schema-validation.jsonc b/src/schema-validation.jsonc index bd064269256..3b14aecfd38 100644 --- a/src/schema-validation.jsonc +++ b/src/schema-validation.jsonc @@ -1066,6 +1066,7 @@ "x-taplo", "x-taplo-info", "x-tombi-toml-version", + "x-tombi-table-keys-order-by", "x-intellij-html-description", "x-intellij-language-injection" ] diff --git a/src/schemas/json/pyproject.json b/src/schemas/json/pyproject.json index 1adb59fcb01..2732df650a3 100644 --- a/src/schemas/json/pyproject.json +++ b/src/schemas/json/pyproject.json @@ -111,6 +111,7 @@ "key": "https://packaging.python.org/en/latest/specifications/pyproject-toml/#arbitrary-tool-configuration-the-tool-table" } }, + "x-tombi-table-keys-order-by": "ascending", "properties": { "black": { "$ref": "https://json.schemastore.org/partial-black.json" @@ -567,6 +568,7 @@ }, "optional-dependencies": { "type": "object", + "x-tombi-table-keys-order-by": "ascending", "patternProperties": { "^([a-z\\d]|[a-z\\d]([a-z\\d-](?!--))*[a-z\\d])$": { "type": "array", @@ -871,6 +873,7 @@ "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/).", "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/).", "x-intellij-html-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.