Skip to content

Commit d2b81b4

Browse files
committed
refactor: use "new" default stage names
To avoid a deprecation warning with pre-commit 4. The "new" names are available in >= 3.2.0.
1 parent 235ef5c commit d2b81b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.pre-commit-hooks.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
entry: perlcritic
77
args: [--quiet]
88
types: [perl]
9-
stages: [commit, merge-commit, push, manual]
9+
stages: [pre-commit, pre-merge-commit, pre-push, manual]
10+
minimum_pre_commit_version: 3.2.0 # for "stages" names

0 commit comments

Comments
 (0)