Skip to content

Commit 4e2fe9f

Browse files
committed
fix: update stages in precommit hooks to account for name deprecations
1 parent 98f47c0 commit 4e2fe9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

{{cookiecutter.project_name}}/.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ repos:
3030
entry: end-of-file-fixer
3131
language: system
3232
types: [text]
33-
stages: [commit, push, manual]
33+
stages: [pre-commit, pre-push, manual]
3434
- id: ruff-lint
3535
name: Ruff Lint
3636
entry: ruff check
@@ -49,7 +49,7 @@ repos:
4949
entry: trailing-whitespace-fixer
5050
language: system
5151
types: [text]
52-
stages: [commit, push, manual]
52+
stages: [pre-commit, pre-push, manual]
5353

5454
- repo: https://github.com/astral-sh/ruff-pre-commit
5555
rev: v0.11.11

0 commit comments

Comments
 (0)