diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 548bdf7..e3dba6b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: - id: pyproject-fmt additional_dependencies: ["tox>=4.12.1"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.5.7" + rev: "v0.6.1" hooks: - id: ruff-format - id: ruff diff --git a/pyproject.toml b/pyproject.toml index a56ab89..99ee74a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -85,7 +85,8 @@ lint.ignore = [ "D104", # Missing docstring in public package "D203", # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible "D212", # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible - "DOC201", # TODO: Read the comment for DOC501 for details + "DOC201", # TODO: Read the comment for DOC501 + "DOC402", # TODO: Read the comment for DOC501 "DOC501", # TODO: Remove this once ruff supports Sphinx-style doc-strings; see https://github.com/astral-sh/ruff/issues/12434 "INP001", # no implicit namespace "ISC001", # Conflict with formatter