From a8540861794c7ef62cce420c54358dd8036da421 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Oct 2026 19:01:25 +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.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.16.10...v0.17.1) - [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..58c47fa1c 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.1" 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 4ac59bcedb28e18c3f0e56369b68b85d3a2b25f8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Oct 2026 19:01:53 +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: