From 4b197045715c17aa9832746db2b674c4c0f18c9d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Sep 2026 22:47:48 +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.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.13...v0.16.6) - [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.8](https://github.com/PyCQA/pylint/compare/v3.3.7...v4.0.8) --- .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..3f7b632 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.6 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.8 hooks: - id: pylint additional_dependencies: From ba83ad35d448f58a48b74558b5bd13d7fd23d00f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Sep 2026 22:48:07 +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__",)