blob: 21bfae1991b8bc556f6c51b306efa2d00c225f60 [file] [log] [blame]
[scripts]
add_change_id = hooks/add_change_id.sh .git/COMMIT_EDITMSG
format_python = hooks/black.sh
lint_python = hooks/flake8.sh
lint_protocol_buffers = hooks/buf.sh
lint_dockerfile = hooks/hadolint.sh
fix_and_lint_typescript = hooks/gts.sh
lint_style = hooks/stylelint.sh
[hooks.pre-commit.scripts]
;msg = echo
fix_p = format_python
lint_p = lint_python
lint_proto = lint_protocol_buffers
lint_docker = lint_dockerfile
fix_lint_ts = fix_and_lint_typescript
lint_css_html = lint_style
; checkbranch = checkbranch
; [hooks.pre-push.scripts]
; [hooks.post-merge.scripts]
; [hooks.applypatch-msg.scripts]
[hooks.commit-msg.scripts]
changeid = add_change_id
; [hooks.fsmonitor-watchman.scripts]
; [hooks.post-applypatch.scripts]
; [hooks.post-checkout.scripts]
; [hooks.post-commit.scripts]
; [hooks.post-receive.scripts]
; [hooks.post-rewrite.scripts]
; [hooks.post-update.scripts]
; [hooks.pre-applypatch.scripts]
; [hooks.pre-auto-gc.scripts]
; [hooks.prepare-commit-msg.scripts]
; [hooks.pre-rebase.scripts]
; [hooks.pre-receive.scripts]
; [hooks.push-to-checkout.scripts]
; [hooks.sendemail-validate.scripts]
; [hooks.update.scripts]