From 3fc4ee608926158d2e0b7dea3703f6278257880c Mon Sep 17 00:00:00 2001 From: Eric Joanis Date: Tue, 11 Feb 2025 10:38:15 -0500 Subject: [PATCH] chore: bump pre-commit-hooks version to clear warning in CI 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 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7b399c22..b9c67256 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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