From 7baf3035c883a6056aa71867a173cc824dae6ff0 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sun, 30 Mar 2014 13:17:40 -0700 Subject: [PATCH] Moar manifest -> hooks --- .pre-commit-config.yaml | 6 ++-- .../consumer_repo/.pre-commit-config.yaml | 34 +++++++++---------- 2 files changed, 19 insertions(+), 21 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3e5dc5f5..1bffc6a9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ - repo: git@github.com:pre-commit/pre-commit-hooks - sha: 8aa14d218d0fe5a2c486498269b3e37d3ba5aad2 + sha: bec87f6c87284ea15dbcf7801810404c8036bab4 hooks: - id: pyflakes files: \.py$ @@ -12,9 +12,9 @@ - id: end-of-file-fixer files: \.(py|sh|yaml)$ - repo: git@github.com:pre-commit/pre-commit - sha: c695ee9a9a78ac73439c52e0085bafec8037bc2d + sha: c62c1a3b513ab9e057e85a5e950bd7c438371076 hooks: - id: validate_manifest - files: ^manifest.yaml$ + files: ^hooks.yaml$ - id: validate_config files: ^\.pre-commit-config.yaml$ diff --git a/testing/resources/consumer_repo/.pre-commit-config.yaml b/testing/resources/consumer_repo/.pre-commit-config.yaml index da23b5c3..1bffc6a9 100644 --- a/testing/resources/consumer_repo/.pre-commit-config.yaml +++ b/testing/resources/consumer_repo/.pre-commit-config.yaml @@ -1,22 +1,20 @@ - - repo: git@github.com:pre-commit/pre-commit-hooks - sha: 76739902911688e8d7b13241409f9facc0e534e4 + sha: bec87f6c87284ea15dbcf7801810404c8036bab4 hooks: - - id: pyflakes - files: '\.py$' - - id: debug-statements - files: '\.py$' - - id: trailing-whitespace - files: '\.(py|sh|yaml)$' - - id: name-tests-test - files: 'tests/.+\.py$' - - id: end-of-file-fixer - files: '\.(py|sh|yaml)$' - + - id: pyflakes + files: \.py$ + - id: debug-statements + files: \.py$ + - id: trailing-whitespace + files: \.(py|sh|yaml)$ + - id: name-tests-test + files: tests/.+\.py$ + - id: end-of-file-fixer + files: \.(py|sh|yaml)$ - repo: git@github.com:pre-commit/pre-commit - sha: 47b7ca44ed1fcaa83464ed00cef72049ae22c33d + sha: c62c1a3b513ab9e057e85a5e950bd7c438371076 hooks: - - id: validate_manifest - files: '^manifest.yaml$' - - id: validate_config - files: \.pre-commit-config.yaml + - id: validate_manifest + files: ^hooks.yaml$ + - id: validate_config + files: ^\.pre-commit-config.yaml$