mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-10 05:14:18 +00:00
set stages for destroyed-symlinks
The 'destroyed-symlinks' hook runs upon 'commit-msg' hook,
however when used in 'git submodules', repository scope breaks
> pre_commit_hooks.util.CalledProcessError: (('git', 'status',
> '--porcelain=v2', '-z', '--', '.../COMMIT_EDITMSG'), 0, 128, '',
> b"fatal: .../COMMIT_EDITMSG: '...' is outside repository at '...'\n")
---
Signed-off-by: Adrian DC <radian.dc@gmail.com>
This commit is contained in:
parent
5b5b46dc75
commit
c7d1e85f24
1 changed files with 1 additions and 0 deletions
|
|
@ -115,6 +115,7 @@
|
||||||
entry: destroyed-symlinks
|
entry: destroyed-symlinks
|
||||||
language: python
|
language: python
|
||||||
types: [file]
|
types: [file]
|
||||||
|
stages: [pre-commit, pre-push, manual]
|
||||||
- id: detect-aws-credentials
|
- id: detect-aws-credentials
|
||||||
name: detect aws credentials
|
name: detect aws credentials
|
||||||
description: detects *your* aws credentials from the aws cli credentials file.
|
description: detects *your* aws credentials from the aws cli credentials file.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue