From 72d10903d5ee2c4e7a2982ccc534cc5fcdfee98e Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Wed, 15 Aug 2018 17:55:06 -0700 Subject: [PATCH] Update config --- .pre-commit-config.yaml | 6 +++--- pre_commit/commands/sample_config.py | 2 +- tests/commands/sample_config_test.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a146bd25..b5a9260f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/pre_commit/commands/sample_config.py b/pre_commit/commands/sample_config.py index aef0107e..87bcaa7d 100644 --- a/pre_commit/commands/sample_config.py +++ b/pre_commit/commands/sample_config.py @@ -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 diff --git a/tests/commands/sample_config_test.py b/tests/commands/sample_config_test.py index 7c4e88d8..cd43d45f 100644 --- a/tests/commands/sample_config_test.py +++ b/tests/commands/sample_config_test.py @@ -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