From c7d9a262aa4ae6dbfa22d226b5c7c2a5357176bc Mon Sep 17 00:00:00 2001 From: Arne Binder Date: Fri, 1 Nov 2024 17:30:31 +0100 Subject: [PATCH] re-add docformatter --- .pre-commit-config.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dfd0a02a2..feea43bd9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,11 +39,13 @@ repos: args: [--py38-plus] # python docstring formatting - #- repo: https://github.com/myint/docformatter - # rev: v1.7.5 - # hooks: - # - id: docformatter - # args: [--in-place, --wrap-summaries=99, --wrap-descriptions=99] + - repo: https://github.com/myint/docformatter + # rev: v1.7.6 + # as long as https://github.com/PyCQA/docformatter/pull/287 is not yet released + rev: 06907d0 + hooks: + - id: docformatter + args: [--in-place, --wrap-summaries=99, --wrap-descriptions=99] # python check (PEP8), programming errors and code complexity - repo: https://github.com/PyCQA/flake8