From 70377aa9b9659d626156d36e7bf9ad04d6619525 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Dec 2025 17:03:36 +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.2](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.21.2) - [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.19.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.6.1...v1.19.0) --- .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..8a9b350 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.2 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.19.0 hooks: - id: mypy args: [--config-file=pyproject.toml] From 29da3470bf79921b8a3468a035a1e5ba54535785 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Dec 2025 17:05:10 +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