Skip to content

Commit 5b5b46d

Browse files
authored
Merge pull request #1093 from pre-commit/non-deprecated-stages-names
update stages names to the non-deprecated names
2 parents ed71474 + 003dfa5 commit 5b5b46d

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.pre-commit-hooks.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
description: prevents giant files from being committed.
44
entry: check-added-large-files
55
language: python
6-
stages: [commit, push, manual]
6+
stages: [pre-commit, pre-push, manual]
7+
minimum_pre_commit_version: 3.2.0
78
- id: check-ast
89
name: check python ast
910
description: simply checks whether the files parse as valid python.
@@ -39,7 +40,8 @@
3940
entry: check-executables-have-shebangs
4041
language: python
4142
types: [text, executable]
42-
stages: [commit, push, manual]
43+
stages: [pre-commit, pre-push, manual]
44+
minimum_pre_commit_version: 3.2.0
4345
- id: check-illegal-windows-names
4446
name: check illegal windows names
4547
entry: Illegal windows filenames detected
@@ -57,7 +59,8 @@
5759
entry: check-shebang-scripts-are-executable
5860
language: python
5961
types: [text]
60-
stages: [commit, push, manual]
62+
stages: [pre-commit, pre-push, manual]
63+
minimum_pre_commit_version: 3.2.0
6164
- id: pretty-format-json
6265
name: pretty format json
6366
description: sets a standard for formatting json files.
@@ -136,7 +139,8 @@
136139
entry: end-of-file-fixer
137140
language: python
138141
types: [text]
139-
stages: [commit, push, manual]
142+
stages: [pre-commit, pre-push, manual]
143+
minimum_pre_commit_version: 3.2.0
140144
- id: file-contents-sorter
141145
name: file contents sorter
142146
description: sorts the lines in specified files (defaults to alphabetical). you must provide list of target files as input in your .pre-commit-config.yaml file.
@@ -203,4 +207,5 @@
203207
entry: trailing-whitespace-fixer
204208
language: python
205209
types: [text]
206-
stages: [commit, push, manual]
210+
stages: [pre-commit, pre-push, manual]
211+
minimum_pre_commit_version: 3.2.0

0 commit comments

Comments
 (0)