mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-14 17:41:45 +04:00
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:
parent
7b88c63ae6
commit
736f61a1c7
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue