From 1352419df5084484fe5b117e36068c08e5915487 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 24 Aug 2026 22:34:34 +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: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/asottile/pyupgrade: v3.20.0 → v3.21.2](https://github.com/asottile/pyupgrade/compare/v3.20.0...v3.21.2) - [github.com/pappasam/toml-sort: v0.24.2 → v0.24.4](https://github.com/pappasam/toml-sort/compare/v0.24.2...v0.24.4) - [github.com/tox-dev/tox-ini-fmt: 1.5.0 → 1.9.0](https://github.com/tox-dev/tox-ini-fmt/compare/1.5.0...1.9.0) - [github.com/astral-sh/ruff-pre-commit: v0.11.13 → v0.16.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.13...v0.16.4) - [github.com/pre-commit/mirrors-mypy: v1.16.0 → v2.3.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.16.0...v2.3.1) - [github.com/PyCQA/pylint: v3.3.7 → v4.0.7](https://github.com/PyCQA/pylint/compare/v3.3.7...v4.0.7) --- .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 a27605a..1deb344 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 # Use the ref you want to point at + rev: v6.0.0 # Use the ref you want to point at hooks: - id: trailing-whitespace - id: check-yaml @@ -9,28 +9,28 @@ repos: - id: trailing-whitespace - id: check-executables-have-shebangs - repo: https://github.com/asottile/pyupgrade - rev: v3.20.0 + rev: v3.21.2 hooks: - id: pyupgrade - repo: https://github.com/pappasam/toml-sort - rev: v0.24.2 + rev: v0.24.4 hooks: - id: toml-sort-fix alias: toml - repo: https://github.com/tox-dev/tox-ini-fmt - rev: 1.5.0 + rev: 1.9.0 hooks: - id: tox-ini-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.13 + rev: v0.16.4 hooks: - id: ruff-format alias: ruff - id: ruff-check alias: ruff - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.16.0 + rev: v2.3.1 hooks: - id: mypy # empty args needed in order to match mypy cli behavior @@ -42,7 +42,7 @@ repos: - types-setuptools - types-docutils - repo: https://github.com/PyCQA/pylint - rev: v3.3.7 + rev: v4.0.7 hooks: - id: pylint additional_dependencies: From fe5b80b88b67970721fd8b175931717ce1737173 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 24 Aug 2026 22:35:03 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/doc8/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc8/__init__.py b/src/doc8/__init__.py index 1053bd6..3aaddda 100644 --- a/src/doc8/__init__.py +++ b/src/doc8/__init__.py @@ -2,7 +2,7 @@ from __future__ import annotations -from doc8.main import doc8 # noqa +from doc8.main import doc8 # ruff: ignore[unused-import] from doc8.version import __version__ __all__ = ("__version__",)