Add quiet mode to pre-commit run

This commit is contained in:
allburov 2019-11-11 17:49:10 +07:00
parent 0fd4a2ea38
commit 53670d6a7e
7 changed files with 268 additions and 29 deletions

View file

@ -0,0 +1,15 @@
- id: passing_hook
name: Passing hook
entry: bin/hook.sh
args: ['0']
language: script
- id: failing_hook
name: Failing hook
entry: bin/hook.sh
args: ['1']
language: script
- id: skipping_hook
name: Skipping hook
entry: bin/hook.sh
language: script
files: 'no-exist-file'