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