Skip to content

Commit

Permalink
chore: bump pre-commit-hooks version to clear warning in CI
Browse files Browse the repository at this point in the history
From CI:
    [WARNING] repo `https://github.com/pre-commit/pre-commit-hooks` uses
    deprecated stage names (commit, push) which will be removed in a future
    version.  Hint: often `pre-commit autoupdate --repo
    https://github.com/pre-commit/pre-commit-hooks` will fix this.  if it does
    not -- consider reporting an issue to that repo.

So I ran

    pre-commit autoupdate --repo https://github.com/pre-commit/pre-commit-hooks

and that does seem to fix the issue since pre-commit-hooks 5.0.0 starts using
the non-deprecated stage names.
See https://github.com/pre-commit/pre-commit-hooks/releases/tag/v5.0.0
  • Loading branch information
joanise committed Feb 14, 2025
1 parent 0925ae7 commit 6c1f57f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
Expand Down

0 comments on commit 6c1f57f

Please sign in to comment.