From 9cbc66dc5530fb10e4a423dc60aba7a4ab8d636e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 28 Jul 2025 16:53:14 +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 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v5.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.1.14 → v0.12.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.14...v0.12.5) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.17.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.17.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..fafb95c 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: v5.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.12.5 hooks: - id: ruff args: [--fix] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.17.0 hooks: - id: mypy args: [--config-file=pyproject.toml] From ce8c0079e8915923fe491902dfd947db2681a1d5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 28 Jul 2025 16:53:59 +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