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: 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__",)