Merge pull request #815 from pre-commit/update_config

Update config
This commit is contained in:
Anthony Sottile
2018-08-16 07:44:27 -07:00
committed by GitHub
3 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.2.3
rev: v1.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
@@ -13,11 +13,11 @@ repos:
- id: requirements-txt-fixer
- id: flake8
- repo: https://github.com/pre-commit/pre-commit
rev: v1.7.0
rev: v1.10.5
hooks:
- id: validate_manifest
- repo: https://github.com/asottile/reorder_python_imports
rev: v1.0.1
rev: v1.1.0
hooks:
- id: reorder-python-imports
language_version: python2.7

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.2.1-1
rev: v1.4.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.2.1-1
rev: v1.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer