From 25bb37c1f2ed9571fbe4c4f8d2e8028b4a0e4581 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 17:01:11 +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/pre-commit/pre-commit-hooks: v4.5.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.1.14 → v0.14.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.14...v0.14.4) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.18.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.18.2) --- .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 416692e..3b8c3f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -10,14 +10,14 @@ repos: - id: check-yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.14 + rev: v0.14.4 hooks: - id: ruff args: [--fix] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.18.2 hooks: - id: mypy args: [--config-file=pyproject.toml] From b4d4a759203fce805c30cf985202976094aa1174 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 17:01:50 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/sphinx_peek/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sphinx_peek/__init__.py b/src/sphinx_peek/__init__.py index 7585ccb..00c5786 100644 --- a/src/sphinx_peek/__init__.py +++ b/src/sphinx_peek/__init__.py @@ -1,4 +1,5 @@ """A sphinx extension for peeking at internal references.""" + from __future__ import annotations from dataclasses import dataclass, fields