mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-08 20:44:18 +00:00
Merge pull request #362 from revolter/patch-1
Don't run check-executables-have-shebangs and trailing-whitespace-fixer hooks for the commit-msg stage
This commit is contained in:
commit
f5ae7d1ece
1 changed files with 2 additions and 0 deletions
|
|
@ -45,6 +45,7 @@
|
||||||
entry: check-executables-have-shebangs
|
entry: check-executables-have-shebangs
|
||||||
language: python
|
language: python
|
||||||
types: [text, executable]
|
types: [text, executable]
|
||||||
|
stages: [commit, push, manual]
|
||||||
- id: check-json
|
- id: check-json
|
||||||
name: Check JSON
|
name: Check JSON
|
||||||
description: This hook checks json files for parseable syntax.
|
description: This hook checks json files for parseable syntax.
|
||||||
|
|
@ -184,3 +185,4 @@
|
||||||
entry: trailing-whitespace-fixer
|
entry: trailing-whitespace-fixer
|
||||||
language: python
|
language: python
|
||||||
types: [text]
|
types: [text]
|
||||||
|
stages: [commit, push, manual]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue