From 8e53d5bbb8389ae3e3e6b0c6e5c55500a5a1b906 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2026 16:51:53 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/tox-dev/pyproject-fmt: v2.24.1 → v2.25.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.24.1...v2.25.0) - [github.com/astral-sh/ruff-pre-commit: v0.15.17 → v0.15.18](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.17...v0.15.18) - [github.com/zizmorcore/zizmor-pre-commit: v1.25.2 → v1.26.1](https://github.com/zizmorcore/zizmor-pre-commit/compare/v1.25.2...v1.26.1) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b098986f..67e33da3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,11 +19,11 @@ repos: hooks: - id: tox-toml-fmt - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.24.1" + rev: "v2.25.0" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.17" + rev: "v0.15.18" hooks: - id: ruff-format - id: ruff-check @@ -36,7 +36,7 @@ repos: - prettier@3.8.1 - "@prettier/plugin-xml@3.4.2" - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: v1.25.2 + rev: v1.26.1 hooks: - id: zizmor - repo: meta From fbcdc1c82cab4b45eb7bea1bc2152d6759dc300f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= Date: Tue, 23 Jun 2026 18:56:26 -0700 Subject: [PATCH 2/2] Ignore PYI033 in tests for legacy type comments New ruff flags legacy-type-comment (PYI033) in fixtures that intentionally exercise '# type:' comments; ignore it for the test suite. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 6ff86bcb..1e24a7e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -116,6 +116,7 @@ lint.per-file-ignores."tests/**/*.py" = [ "PLR0913", # any number of arguments in tests "PLR0917", # any number of arguments in tests "PLR2004", # Magic value used in comparison, consider replacing with a constant variable + "PYI033", # we test for legacy `# type:` comments "S101", # asserts allowed in tests "S603", # `subprocess` call: check for execution of untrusted input "UP006", # we test for old List/Tuple syntax