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" } ] } 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" }, { 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": { 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 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```",