From 7e24d8004f005998ebe133ec931f96ad5ad4ace4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2026 23:52:34 +0000 Subject: [PATCH 1/2] ci(pre-commit.ci): autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/abravalheri/validate-pyproject: 0.26 → v0.27](https://github.com/abravalheri/validate-pyproject/compare/0.26...v0.27) - [github.com/adhtruong/mirrors-typos: v1.50.1 → v1.51.1](https://github.com/adhtruong/mirrors-typos/compare/v1.50.1...v1.51.1) - [github.com/astral-sh/ruff-pre-commit: v0.16.6 → v0.17.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.16.6...v0.17.3) - [github.com/pre-commit/mirrors-mypy: v2.3.1 → v2.4.1](https://github.com/pre-commit/mirrors-mypy/compare/v2.3.1...v2.4.1) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b24b0828..0a4e86a3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ ci: repos: - repo: https://github.com/abravalheri/validate-pyproject - rev: '0.26' + rev: 'v0.27' hooks: - id: validate-pyproject @@ -16,20 +16,20 @@ repos: files: "^\\.github/workflows/.*\\.ya?ml$" - repo: https://github.com/adhtruong/mirrors-typos - rev: v1.50.1 + rev: v1.51.1 hooks: - id: typos args: [--force-exclude] # omitting --write-changes - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.16.6 + rev: v0.17.3 hooks: - id: ruff-check args: ["--fix", "--unsafe-fixes"] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v2.3.1 + rev: v2.4.1 hooks: - id: mypy files: "^src/" From a07062a5b2ac71edadc4616fc4990e9c55bf1ebf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 3 Nov 2026 00:00:21 +0000 Subject: [PATCH 2/2] style(pre-commit.ci): auto fixes [...] --- src/magicgui/schema/_ui_field.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/magicgui/schema/_ui_field.py b/src/magicgui/schema/_ui_field.py index c93b3c18..f7b1f8da 100644 --- a/src/magicgui/schema/_ui_field.py +++ b/src/magicgui/schema/_ui_field.py @@ -229,7 +229,7 @@ def __post_init__(self) -> None: ) # # Keywords for Mapping (Object) Instances - # # https://json-schema.org/draft/2020-12/json-schema-validation.html#name-validation-keywords-for-obj # noqa + # # https://json-schema.org/draft/2020-12/json-schema-validation.html#name-validation-keywords-for-obj # max_properties: int | None = field( # default=None, # metadata=dict(description="The maximum allowed number of keys. Must be >= 0.")