Skip to content

Commit

Permalink
Revert "confine pre-commit to stages (#3940)" (#4137)
Browse files Browse the repository at this point in the history
This reverts commit 7686989.
  • Loading branch information
hauntsaninja committed Jan 2, 2024
1 parent fe33761 commit b9ad4da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .pre-commit-hooks.yaml
Expand Up @@ -4,7 +4,6 @@
name: black
description: "Black: The uncompromising Python code formatter"
entry: black
stages: [pre-commit, pre-merge-commit, pre-push, manual]
language: python
minimum_pre_commit_version: 2.9.2
require_serial: true
Expand All @@ -14,7 +13,6 @@
description:
"Black: The uncompromising Python code formatter (with Jupyter Notebook support)"
entry: black
stages: [pre-commit, pre-merge-commit, pre-push, manual]
language: python
minimum_pre_commit_version: 2.9.2
require_serial: true
Expand Down
3 changes: 3 additions & 0 deletions CHANGES.md
Expand Up @@ -50,6 +50,9 @@

<!-- 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

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

0 comments on commit b9ad4da

Please sign in to comment.