From d0613b220694c996e59958de49f1a21b34ef0889 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 26 Oct 2026 19:00:21 +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/astral-sh/ruff-pre-commit: v0.16.10 → v0.17.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.16.10...v0.17.2) - [github.com/zizmorcore/zizmor-pre-commit: v1.30.1 → v1.31.1](https://github.com/zizmorcore/zizmor-pre-commit/compare/v1.30.1...v1.31.1) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 57486c84e..14f675c47 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,13 +16,13 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.16.10" + rev: "v0.17.2" hooks: - id: ruff-check args: [--fix, --exit-non-zero-on-fix] - id: ruff-format - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: v1.30.1 + rev: v1.31.1 hooks: - id: zizmor args: [--pedantic] From 77041aa0b64f5525ce9f0f10dc63f4eb534e2338 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 26 Oct 2026 19:00:52 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- jsonschema/exceptions.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jsonschema/exceptions.py b/jsonschema/exceptions.py index 96861577c..3fd204661 100644 --- a/jsonschema/exceptions.py +++ b/jsonschema/exceptions.py @@ -247,7 +247,9 @@ class _RefResolutionError(Exception): # noqa: PLW1641 def __eq__(self, other): if self.__class__ is not other.__class__: - return NotImplemented # pragma: no cover -- uncovered but deprecated # noqa: E501 + return ( + NotImplemented # pragma: no cover -- uncovered but deprecated # noqa: E501 + ) return self._cause == other._cause def __str__(self) -> str: