From 93e3a4f3eea9da721f1d16855ab2ddc0e1518e32 Mon Sep 17 00:00:00 2001 From: Iulian Onofrei <6d0847b9@opayq.com> Date: Sat, 2 Feb 2019 10:38:39 +0200 Subject: [PATCH] Don't run check-executables-have-shebangs and trailing-whitespace-fixer hooks for the commit-msg stage --- .pre-commit-hooks.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index bd1b673..79a90b7 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -45,6 +45,7 @@ entry: check-executables-have-shebangs language: python types: [text, executable] + stages: [commit, push, manual] - id: check-json name: Check JSON description: This hook checks json files for parseable syntax. @@ -184,3 +185,4 @@ entry: trailing-whitespace-fixer language: python types: [text] + stages: [commit, push, manual]