Merge pull request #870 from pre-commit/bump_sample

Upgrade the sample config
This commit is contained in:
Anthony Sottile
2018-11-15 16:19:22 -08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -13,7 +13,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: v1.4.0
rev: v2.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer