Skip to content

Commit b03d67a

Browse files
Only run pre-commits on post-checkout, post-merge, and post-rewrite for uv-sync
1 parent 80c3cb7 commit b03d67a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ repos:
1515
language: system
1616
always_run: true
1717
pass_filenames: false
18+
stages: [manual, pre-commit, post-checkout, post-merge, post-rewrite]
1819
- repo: https://github.com/pre-commit/pre-commit-hooks
1920
rev: v5.0.0
2021
hooks:
@@ -103,6 +104,3 @@ repos:
103104
require_serial: true
104105
default_install_hook_types:
105106
- pre-commit
106-
- post-checkout
107-
- post-merge
108-
- post-rewrite

0 commit comments

Comments
 (0)