Skip to content

Commit 405b5c6

Browse files
committed
Update pre-commit hook stages due to depracation
1 parent 503e458 commit 405b5c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ repos:
3333
entry: end-of-file-fixer
3434
language: system
3535
types: [text]
36-
stages: [commit, push, manual]
36+
stages: [pre-commit, pre-push, manual]
3737
- id: flake8
3838
name: flake8
3939
entry: flake8
@@ -60,7 +60,7 @@ repos:
6060
entry: trailing-whitespace-fixer
6161
language: system
6262
types: [text]
63-
stages: [commit, push, manual]
63+
stages: [pre-commit, pre-push, manual]
6464
args: [--markdown-linebreak-ext=md]
6565
- repo: https://github.com/pre-commit/mirrors-prettier
6666
rev: v2.6.0

0 commit comments

Comments
 (0)