From 4fa71ea920873f6a1e6116d38155adbd6b1d3eb6 Mon Sep 17 00:00:00 2001 From: Kyle Coble Date: Tue, 12 Nov 2024 16:05:49 -0500 Subject: [PATCH] Update pre-commit to --- .pre-commit-config.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 43cf05c9..5fc43821 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ repos: hooks: - id: black - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -88,8 +88,12 @@ repos: - id: ruff exclude: (thirdparty|cpp/sophus)/.*$ args: [--fix, --exit-non-zero-on-fix] - - repo: https://github.com/PyCQA/docformatter - rev: v1.7.5 + + # TODO: Set ``rev: v1.7.6`` once the release is available. + # See: https://github.com/PyCQA/docformatter/issues/293 + - repo: https://github.com/myint/docformatter + # rev: v1.7.6 + rev: "eb1df347edd128b30cd3368dddc3aa65edcfac38" hooks: - id: docformatter args: [--in-place, --wrap-summaries=115, --wrap-descriptions=120]