From 1b44d091a2b80b73dbb6861b4bc85e2f67525418 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 May 2026 17:01:09 +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.15.13](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.14...v0.15.13) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v2.1.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v2.1.0) --- .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..62dd1ce 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.15.13 hooks: - id: ruff args: [--fix] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v2.1.0 hooks: - id: mypy args: [--config-file=pyproject.toml] From a6db2c2de08f9d643b59f6081f83cc9b172d3afb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 May 2026 17:01:42 +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