Revert "confine pre-commit to stages (#3940)" (#4137)

This reverts commit 7686989fc8.
This commit is contained in:
Shantanu 2024-01-01 16:55:25 -08:00 committed by GitHub
parent fe3376141c
commit b9ad4da2e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,6 @@
name: black name: black
description: "Black: The uncompromising Python code formatter" description: "Black: The uncompromising Python code formatter"
entry: black entry: black
stages: [pre-commit, pre-merge-commit, pre-push, manual]
language: python language: python
minimum_pre_commit_version: 2.9.2 minimum_pre_commit_version: 2.9.2
require_serial: true require_serial: true
@ -14,7 +13,6 @@
description: description:
"Black: The uncompromising Python code formatter (with Jupyter Notebook support)" "Black: The uncompromising Python code formatter (with Jupyter Notebook support)"
entry: black entry: black
stages: [pre-commit, pre-merge-commit, pre-push, manual]
language: python language: python
minimum_pre_commit_version: 2.9.2 minimum_pre_commit_version: 2.9.2
require_serial: true require_serial: true

View File

@ -50,6 +50,9 @@
<!-- For example, Docker, GitHub Actions, pre-commit, editors --> <!-- For example, Docker, GitHub Actions, pre-commit, editors -->
- Revert the change to run Black's pre-commit integration only on specific git hooks
(#3940) for better compatibility with older versions of pre-commit (#4137)
### Documentation ### Documentation
<!-- Major changes to documentation and policies. Small docs changes <!-- Major changes to documentation and policies. Small docs changes