From f24de2ebe6c62922174626afa75903b049ffeabf Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Thu, 21 Nov 2024 08:21:35 +0100 Subject: [PATCH] add prepare_commit to pre-commit hook --- .pre-commit-config.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 67b0a980887a..b53dd6931bf1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,6 +22,15 @@ repos: - id: isort args: ["--profile", "black", "--filter-files"] + - repo: local + hooks: + - id: prepare_commit + name: prepare_commit + entry: ./scripts/prepare_commit.sh + language: system + always_run: true + pass_filenames: false + ci: autofix_prs: true autoupdate_schedule: quarterly