From 4435f021088bf45c32a15abd7005ff14a686877e Mon Sep 17 00:00:00 2001 From: Lukas Trippe Date: Tue, 15 Oct 2024 11:11:41 +0200 Subject: [PATCH] fix: remove broken pre-commit rule (docformatter) (#1362) --- .pre-commit-config.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3fefd0b7b..1d32a4345 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,12 +37,14 @@ repos: types_or: [python, rst, markdown] files: ^(scripts|doc)/ - # Make docstrings PEP 257 compliant -- repo: https://github.com/PyCQA/docformatter - rev: v1.7.5 - hooks: - - id: docformatter - args: ["--in-place", "--make-summary-multi-line", "--pre-summary-newline"] +# Make docstrings PEP 257 compliant +# Broken for pre-commit<=4.0.0 +# See https://github.com/PyCQA/docformatter/issues/293 +# - repo: https://github.com/PyCQA/docformatter +# rev: v1.7.5 +# hooks: +# - id: docformatter +# args: ["--in-place", "--make-summary-multi-line", "--pre-summary-newline"] - repo: https://github.com/keewis/blackdoc rev: v0.3.9