Skip to content

Commit e6d103e

Browse files
committed
chore(pre-commit): avoid stage name deprecation warning
pre-commit 4.0.1 warns: > top-level `default_stages` uses deprecated stage names (commit) > which will be removed in a future version. Use new names, means pre-commit >= 3.2.0 is required now.
1 parent 8f34adc commit e6d103e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
-r ../test/requirements-dev.txt
22

33
gitlint==0.19.1
4-
pre-commit>=2.4.0
4+
pre-commit>=3.2.0

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
default_stages: [commit]
2-
minimum_pre_commit_version: 2.4.0
1+
default_stages: [pre-commit]
2+
minimum_pre_commit_version: 3.2.0 # for "default_stages" names
33

44
repos:
55

0 commit comments

Comments
 (0)