From 9c542a03846efd5e5312e9e7919e4bce3a1647a8 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: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 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v6.0.0) - [github.com/asottile/pyupgrade: v3.15.0 → v3.21.1](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.21.1) - [github.com/PyCQA/isort: 5.12.0 → 7.0.0](https://github.com/PyCQA/isort/compare/5.12.0...7.0.0) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 23.10.1 → 25.11.0](https://github.com/psf/black-pre-commit-mirror/compare/23.10.1...25.11.0) - [github.com/PyCQA/flake8: 6.1.0 → 7.3.0](https://github.com/PyCQA/flake8/compare/6.1.0...7.3.0) - [github.com/pre-commit/mirrors-mypy: v1.6.1 → v1.18.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.6.1...v1.18.2) --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1aaa6b5..d643911 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ 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 @@ -11,23 +11,23 @@ repos: - id: check-added-large-files - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.21.1 hooks: - id: pyupgrade args: [--py37-plus] - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 7.0.0 hooks: - id: isort - - repo: https://github.com/psf/black - rev: 23.10.1 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 25.11.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 - rev: 6.1.0 + rev: 7.3.0 hooks: - id: flake8 additional_dependencies: @@ -35,7 +35,7 @@ repos: - flake8-bugbear - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.6.1 + rev: v1.18.2 hooks: - id: mypy args: [--config-file=pyproject.toml] From f0033b4bdd33120c15dfc693f5bf4a2cb11bed2e 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:02:20 +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_pytest/builders.py | 1 + src/sphinx_pytest/plugin.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/sphinx_pytest/builders.py b/src/sphinx_pytest/builders.py index b9ffe56..7a5d2d5 100644 --- a/src/sphinx_pytest/builders.py +++ b/src/sphinx_pytest/builders.py @@ -1,4 +1,5 @@ """Sphinx builders for pytest.""" + from __future__ import annotations from docutils import nodes diff --git a/src/sphinx_pytest/plugin.py b/src/sphinx_pytest/plugin.py index c6363f7..483a391 100644 --- a/src/sphinx_pytest/plugin.py +++ b/src/sphinx_pytest/plugin.py @@ -1,4 +1,5 @@ """The pytest plugin.""" + from __future__ import annotations from collections.abc import Mapping