Add pre-commit hooks: check-symlinks and destroyed-symlinks (#8071)

https://github.com/pre-commit/pre-commit-hooks#check-symlinks

https://github.com/pre-commit/pre-commit-hooks#destroyed-symlinks
This commit is contained in:
John Bampton 2023-11-02 18:07:50 +10:00 committed by GitHub
parent 2dac6cb674
commit b2b707b90e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,8 +32,10 @@ repos:
- id: check-case-conflict
#- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-symlinks
- id: check-vcs-permalinks
#- id: check-yaml
- id: destroyed-symlinks
- id: detect-private-key
exclude: >
(?x)