Skip to content

Commit b9ad4da

Browse files
authored
Revert "confine pre-commit to stages (psf#3940)" (psf#4137)
This reverts commit 7686989.
1 parent fe33761 commit b9ad4da

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.pre-commit-hooks.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
name: black
55
description: "Black: The uncompromising Python code formatter"
66
entry: black
7-
stages: [pre-commit, pre-merge-commit, pre-push, manual]
87
language: python
98
minimum_pre_commit_version: 2.9.2
109
require_serial: true
@@ -14,7 +13,6 @@
1413
description:
1514
"Black: The uncompromising Python code formatter (with Jupyter Notebook support)"
1615
entry: black
17-
stages: [pre-commit, pre-merge-commit, pre-push, manual]
1816
language: python
1917
minimum_pre_commit_version: 2.9.2
2018
require_serial: true

CHANGES.md

+3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@
5050

5151
<!-- For example, Docker, GitHub Actions, pre-commit, editors -->
5252

53+
- Revert the change to run Black's pre-commit integration only on specific git hooks
54+
(#3940) for better compatibility with older versions of pre-commit (#4137)
55+
5356
### Documentation
5457

5558
<!-- Major changes to documentation and policies. Small docs changes

0 commit comments

Comments
 (0)