Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
---
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
- id: end-of-file-fixer
- 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
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/doc8/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__",)
Loading