From 533909ef70f8496f087886f5178e17f8748c2ccb Mon Sep 17 00:00:00 2001 From: Martin Lehmann Date: Wed, 16 Oct 2024 11:15:35 +0200 Subject: [PATCH] ci: Update pre-commit hooks --- .pre-commit-config.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c8c748e..6f98eaf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,10 +2,10 @@ # SPDX-License-Identifier: CC0-1.0 default_install_hook_types: [commit-msg, pre-commit] -default_stages: [commit, merge-commit] +default_stages: [pre-commit, pre-merge-commit] repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-ast @@ -27,7 +27,7 @@ repos: - id: fix-byte-order-marker - id: trailing-whitespace - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.1.1 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/PyCQA/isort @@ -35,7 +35,7 @@ repos: hooks: - id: isort - repo: https://github.com/PyCQA/docformatter - rev: v1.7.5 + rev: eb1df347edd128b30cd3368dddc3aa65edcfac38 hooks: - id: docformatter additional_dependencies: @@ -48,13 +48,13 @@ repos: additional_dependencies: - pydocstyle[toml] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.12.0 hooks: - id: mypy additional_dependencies: - capellambse==0.6.6 - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.5.4 + rev: v1.5.5 hooks: - id: insert-license name: Insert license headers (shell-style comments) @@ -97,11 +97,11 @@ repos: - --comment-style - "..| |" - repo: https://github.com/fsfe/reuse-tool - rev: v3.0.1 + rev: v4.0.3 hooks: - id: reuse - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook - rev: v9.11.0 + rev: v9.18.0 hooks: - id: commitlint stages: [commit-msg]