From c77518fbd806e7d282388e694faa1bc05ba9b720 Mon Sep 17 00:00:00 2001 From: Boris Sabatier Date: Tue, 6 May 2025 15:44:26 +0200 Subject: [PATCH] pre-commit migrate-config With the version 3.2.0 of pre-commit the stage commit is deprecated and replace with pre-commit. See : https://pre-commit.com/#confining-hooks-to-run-at-certain-stages --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1be3f05..a023a46 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ # Commitizen runs in commit-msg stage # but we don't want to run the other hooks on commit messages -default_stages: [commit] +default_stages: [pre-commit] # Use a slightly older version of node by default # as the default uses a very new version of GLIBC default_language_version: