From a39198650dc8452274abdbd07914cab77977a710 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 28 Sep 2026 23:31:15 +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.25.0](https://github.com/pappasam/toml-sort/compare/v0.24.2...v0.25.0) - [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.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.13...v0.16.9) - [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.9](https://github.com/PyCQA/pylint/compare/v3.3.7...v4.0.9) --- .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..8a44203 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.25.0 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.9 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.9 hooks: - id: pylint additional_dependencies: From a639c8b9a8378cabd040cebbca080cff84f305d1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 28 Sep 2026 23:34:12 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 6 +++--- src/doc8/__init__.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 52f8cf2..ff18653 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ requires = [ ] [project] -authors = [{email = "openstack-discuss@lists.openstack.org", name = "OpenStack"}] +authors = [{ email = "openstack-discuss@lists.openstack.org", name = "OpenStack" }] classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", @@ -41,7 +41,7 @@ keywords = [ "linter" ] license = "Apache-2.0" -maintainers = [{email = "code-quality@python.org", name = "PyCQA"}] +maintainers = [{ email = "code-quality@python.org", name = "PyCQA" }] name = "doc8" requires-python = ">=3.10" @@ -192,7 +192,7 @@ include-package-data = true # These are required in actual runtime: license-files = ["LICENSE"] # use-scm-version = "True" # Does not pass validate-pyproject -package-dir = {"" = "src"} +package-dir = { "" = "src" } zip-safe = false [tool.setuptools.packages.find] 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__",)