From 5a0f441673c89f70e34459ca2cd93d1e14b6d649 Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Mon, 27 Mar 2017 13:57:38 +0200 Subject: [PATCH] no-commit-to-branch: Fixed manifest validation issue Since https://github.com/pre-commit/pre-commit has changed to it's now schema validation the no-commit-to-branch check failed. The `files` attribute should not be present when `always_run` is `true` --- .pre-commit-hooks.yaml | 1 - hooks.yaml | 1 - 2 files changed, 2 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index bda3f76..7eaf546 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -133,7 +133,6 @@ name: "Don't commit to branch" entry: no-commit-to-branch language: python - files: .* always_run: true - id: pyflakes name: Pyflakes (DEPRECATED, use flake8) diff --git a/hooks.yaml b/hooks.yaml index bda3f76..7eaf546 100644 --- a/hooks.yaml +++ b/hooks.yaml @@ -133,7 +133,6 @@ name: "Don't commit to branch" entry: no-commit-to-branch language: python - files: .* always_run: true - id: pyflakes name: Pyflakes (DEPRECATED, use flake8)