From d6bcb1e09f86571bc2528e25a213918c4825b3c7 Mon Sep 17 00:00:00 2001 From: Dmitry Pavlov Date: Mon, 2 Mar 2026 21:28:55 +0300 Subject: [PATCH 1/5] Added schema for text2confl configuration file (#5423) --- src/api/json/catalog.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/api/json/catalog.json b/src/api/json/catalog.json index 752509ef60a..e324966644c 100644 --- a/src/api/json/catalog.json +++ b/src/api/json/catalog.json @@ -9443,6 +9443,17 @@ "description": "Configuration file for Oxlint, a high-performance linter for JavaScript and TypeScript built on the Oxc compiler stack", "fileMatch": [".oxlintrc.json"], "url": "https://raw.githubusercontent.com/oxc-project/oxc/refs/heads/main/npm/oxlint/configuration_schema.json" + }, + { + "name": "text2confl config", + "description": "Configuration file for Text2Confl - tool to publish Markdown and Asciidoctor files to Confluence", + "fileMatch": [ + "**/.text2confl.yaml", + "**/.text2confl.yml", + "**/text2confl.yaml", + "**/text2confl.yml" + ], + "url": "https://raw.githubusercontent.com/zeldigas/text2confl/refs/heads/master/docs/config.schema.json" } ] } From 56172df0f6f3e08d7061bbd2850132a9fbe49a84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= Date: Mon, 2 Mar 2026 18:29:17 +0000 Subject: [PATCH 2/5] Update tox JSON Schema to 4.47.0 (#5424) * Update tox JSON Schema to 4.47.0 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- src/schemas/json/tox.json | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/src/schemas/json/tox.json b/src/schemas/json/tox.json index ceaed5ee529..fc3482dcc47 100644 --- a/src/schemas/json/tox.json +++ b/src/schemas/json/tox.json @@ -493,17 +493,31 @@ "description": "if set to true, tox will stop executing remaining environments when this environment fails" }, "default_base_python": { - "type": "array", - "items": { - "$ref": "#/definitions/subs" - }, + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/subs" + } + }, + { + "type": "string" + } + ], "description": "fallback python interpreter used when no factor or explicit base_python is defined" }, "base_python": { - "type": "array", - "items": { - "$ref": "#/definitions/subs" - }, + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/subs" + } + }, + { + "type": "string" + } + ], "description": "environment identifier for python, first one found wins" }, "basepython": { From 435aafc9497dbc6f744704e0527134047ec9b8c3 Mon Sep 17 00:00:00 2001 From: Michael Ferrari Date: Mon, 2 Mar 2026 19:29:36 +0100 Subject: [PATCH 3/5] Add 3 more `FormatStyle` values for `.clang-tidy` (#5425) * Add 3 more `FormatStyle` values for `.clang-tidy` The previous values were only the ones listed in the docs for clang-tidy itself, but it references to check clang-format for the actual values. Clang-format also supports `chromium`, `microsoft` and `gnu`. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- src/schemas/json/clang-tidy.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/schemas/json/clang-tidy.json b/src/schemas/json/clang-tidy.json index 8e6cf003123..45d4bd576c7 100644 --- a/src/schemas/json/clang-tidy.json +++ b/src/schemas/json/clang-tidy.json @@ -90,7 +90,17 @@ "description": "Style for formatting code around applied fixes.", "oneOf": [ { - "enum": ["none", "file", "llvm", "google", "webkit", "mozilla"], + "enum": [ + "none", + "file", + "llvm", + "google", + "webkit", + "mozilla", + "chromium", + "microsoft", + "gnu" + ], "type": "string" }, { From 2687b13281a9cfa5d56747952c2ee15c30a79ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathieu=20B=C3=A9langer?= <56379077+mbelangergit@users.noreply.github.com> Date: Mon, 2 Mar 2026 13:29:49 -0500 Subject: [PATCH 4/5] Add missing options to Traefik v3 file provider schema (#5426) --- .../json/traefik-v3-file-provider.json | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/schemas/json/traefik-v3-file-provider.json b/src/schemas/json/traefik-v3-file-provider.json index 4e46ba33035..6e65ed14205 100644 --- a/src/schemas/json/traefik-v3-file-provider.json +++ b/src/schemas/json/traefik-v3-file-provider.json @@ -601,6 +601,30 @@ "items": { "type": "string" } + }, + "forwardBody": { + "type": "boolean", + "description": "Sets the forwardBody option to true to send the Body. As body is read inside Traefik before forwarding, this breaks streaming." + }, + "maxBodySize": { + "type": "number", + "description": "Sets the maxBodySize to limit the body size in bytes. If body is bigger than this, it returns a 401 (unauthorized)." + }, + "maxResponseBodySize": { + "type": "number", + "description": "Sets the maxResponseBodySize to limit the response body size from the authentication server in bytes." + }, + "headerField": { + "type": "string", + "description": "Defines a header field to store the authenticated user." + }, + "preserveLocationHeader": { + "type": "boolean", + "description": "Defines whether to forward the Location header to the client as is or prefix it with the domain name of the authentication server." + }, + "preserveRequestMethod": { + "type": "boolean", + "description": "Defines whether to preserve the original request method while forwarding the request to the authentication server." } }, "additionalProperties": false From d2cb890a2ecdb65709f366c17c5ba8f87238285f Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Mon, 2 Mar 2026 13:30:04 -0500 Subject: [PATCH 5/5] Update ty's JSON schema (#5428) This updates ty's JSON schema to [2bd0252435a1ad19b91863f37beab60bb8e68a14](https://github.com/astral-sh/ty/commit/2bd0252435a1ad19b91863f37beab60bb8e68a14) --- src/schemas/json/ty.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/schemas/json/ty.json b/src/schemas/json/ty.json index 2feb61db3ab..880d3a998da 100644 --- a/src/schemas/json/ty.json +++ b/src/schemas/json/ty.json @@ -541,6 +541,16 @@ } ] }, + "final-on-non-method": { + "title": "detects `@final` applied to non-method functions", + "description": "## What it does\nChecks for `@final` decorators applied to non-method functions.\n\n## Why is this bad?\nThe `@final` decorator is only meaningful on methods and classes.\nApplying it to a module-level function or a nested function has no\neffect and is likely a mistake.\n\n## Example\n\n```python\nfrom typing import final\n\n# Error: @final is not allowed on non-method functions\n@final\ndef my_function() -> int:\n return 0\n```", + "default": "error", + "oneOf": [ + { + "$ref": "#/definitions/Level" + } + ] + }, "final-without-value": { "title": "detects `Final` declarations without a value", "description": "## What it does\nChecks for `Final` symbols that are declared without a value and are never\nassigned a value in their scope.\n\n## Why is this bad?\nA `Final` symbol must be initialized with a value at the time of declaration\nor in a subsequent assignment. At module or function scope, the assignment must\noccur in the same scope. In a class body, the assignment may occur in `__init__`.\n\n## Examples\n```python\nfrom typing import Final\n\n# Error: `Final` symbol without a value\nMY_CONSTANT: Final[int]\n\n# OK: `Final` symbol with a value\nMY_CONSTANT: Final[int] = 1\n```", @@ -1231,6 +1241,16 @@ } ] }, + "shadowed-type-variable": { + "title": "detects type variables that shadow type variables from outer scopes", + "description": "## What it does\nChecks for type variables in nested generic classes or functions that shadow type variables\nfrom an enclosing scope.\n\n## Why is this bad?\nShadowing type variables makes the code confusing and is disallowed by the typing spec.\n\n## Examples\n```python\nclass Outer[T]:\n # Error: `T` is already used by `Outer`\n class Inner[T]: ...\n\n # Error: `T` is already used by `Outer`\n def method[T](self, x: T) -> T: ...\n```\n\n## References\n- [Typing spec: Generics](https://typing.python.org/en/latest/spec/generics.html#introduction)", + "default": "error", + "oneOf": [ + { + "$ref": "#/definitions/Level" + } + ] + }, "static-assert-error": { "title": "Failed static assertion", "description": "## What it does\nMakes sure that the argument of `static_assert` is statically known to be true.\n\n## Why is this bad?\nA `static_assert` call represents an explicit request from the user\nfor the type checker to emit an error if the argument cannot be verified\nto evaluate to `True` in a boolean context.\n\n## Examples\n```python\nfrom ty_extensions import static_assert\n\nstatic_assert(1 + 1 == 3) # error: evaluates to `False`\n\nstatic_assert(int(2.0 * 3.0) == 6) # error: does not have a statically known truthiness\n```",