python,misc: Add destroyed-symlinks hook to pre-commit
This hook detects which symlinks are changed to regular files with the content of a path which that symlink was pointing to. Change-Id: Ic925f02debc65c7c04e6d4cc3a25415b30858977
This commit is contained in:
@@ -66,6 +66,7 @@ repos:
|
|||||||
- id: check-case-conflict
|
- id: check-case-conflict
|
||||||
- id: check-merge-conflict
|
- id: check-merge-conflict
|
||||||
- id: check-symlinks
|
- id: check-symlinks
|
||||||
|
- id: destroyed-symlinks
|
||||||
- id: requirements-txt-fixer
|
- id: requirements-txt-fixer
|
||||||
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
|
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
|
||||||
rev: 0.2.3
|
rev: 0.2.3
|
||||||
|
|||||||
Reference in New Issue
Block a user