mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-19 17:14:43 +04:00
Upgrade the sample-config output
This commit is contained in:
parent
cb8fb8c7c8
commit
469498ac9d
2 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ SAMPLE_CONFIG = '''\
|
||||||
# See http://pre-commit.com for more information
|
# See http://pre-commit.com for more information
|
||||||
# See http://pre-commit.com/hooks.html for more hooks
|
# See http://pre-commit.com/hooks.html for more hooks
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
sha: v0.7.1
|
sha: v0.9.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ def test_sample_config(capsys):
|
||||||
# See http://pre-commit.com for more information
|
# See http://pre-commit.com for more information
|
||||||
# See http://pre-commit.com/hooks.html for more hooks
|
# See http://pre-commit.com/hooks.html for more hooks
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
sha: v0.7.1
|
sha: v0.9.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue