Skip to content

Commit 93e3a4f

Browse files
authored
Don't run check-executables-have-shebangs and trailing-whitespace-fixer hooks for the commit-msg stage
1 parent 63cc341 commit 93e3a4f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pre-commit-hooks.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
entry: check-executables-have-shebangs
4646
language: python
4747
types: [text, executable]
48+
stages: [commit, push, manual]
4849
- id: check-json
4950
name: Check JSON
5051
description: This hook checks json files for parseable syntax.
@@ -184,3 +185,4 @@
184185
entry: trailing-whitespace-fixer
185186
language: python
186187
types: [text]
188+
stages: [commit, push, manual]

0 commit comments

Comments
 (0)