Bump repo version in sample-config

The repo version previously used in the sample config was using
deprecated stage names, bump it so a repo initialized with the sample
config can run pre-commit hooks without raising warnings.
This commit is contained in:
Benjamin Bannier 2025-02-20 07:52:20 +01:00
parent 7b88c63ae6
commit 736f61a1c7
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ SAMPLE_CONFIG = '''\
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer

View file

@ -12,7 +12,7 @@ def test_sample_config(capsys):
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer