Skip to content

Commit

Permalink
Fix pre-commit deprecated stage names
Browse files Browse the repository at this point in the history
> Run pre-commit run --all-files --show-diff-on-failure --color always
> [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
> [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.
> [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.

- pre-commit/pre-commit-hooks#1093

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
  • Loading branch information
jsoref committed Jan 6, 2025
1 parent f90b59f commit 5830d56
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.4.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
files: (automation/|ci/|code-scanning/|deployments/|pages/).*(yaml|yml|json)$

0 comments on commit 5830d56

Please sign in to comment.