From 9575cc734d3fcb386aded8f8f098361417f20d30 Mon Sep 17 00:00:00 2001 From: Andrew Wilson Date: Mon, 13 Nov 2023 10:48:23 +1000 Subject: [PATCH 1/2] fix support for pre-commit versions < 3.2.0 --- .pre-commit-hooks.yaml | 4 ++-- CHANGES.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 54a03efe7a1..7e1be96f57e 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -4,7 +4,7 @@ name: black description: "Black: The uncompromising Python code formatter" entry: black - stages: [pre-commit, pre-merge-commit, pre-push, manual] + stages: [commit, merge-commit, push, manual] language: python minimum_pre_commit_version: 2.9.2 require_serial: true @@ -14,7 +14,7 @@ description: "Black: The uncompromising Python code formatter (with Jupyter Notebook support)" entry: black - stages: [pre-commit, pre-merge-commit, pre-push, manual] + stages: [commit, merge-commit, push, manual] language: python minimum_pre_commit_version: 2.9.2 require_serial: true diff --git a/CHANGES.md b/CHANGES.md index 9446927b8d1..1075edc7145 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -40,7 +40,7 @@ ### Integrations - +- Fix support for pre-commit versions < 3.2.0 (#4040) ### Documentation From 86e6278718482ff9e04bbebffb57f5ef3052cb6d Mon Sep 17 00:00:00 2001 From: Andrew Wilson Date: Mon, 13 Nov 2023 14:53:40 +1000 Subject: [PATCH 2/2] Update CHANGES.md Co-authored-by: Cooper Lees --- CHANGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 1075edc7145..3657c8a0488 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -40,7 +40,7 @@ ### Integrations -- Fix support for pre-commit versions < 3.2.0 (#4040) +- Fix support for pre-commit versions < 3.2.0 (#4041) ### Documentation