Check for broken symlinks

Prevent accidental creation of invalid symlinks in the source tree.

We are using symlinks especially for release config files and is easy
to create invalid ones and miss to observe them.

This will make the linter detect such broken symlinks.

Change-Id: Ic119868acdba55e90ac9466f49a8ec8e047f804c
This commit is contained in:
Sorin Sbarnea 2019-04-12 15:11:29 +01:00
parent badaaf7b17
commit 77d5f2b762
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ repos:
- id: check-byte-order-marker
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-symlinks
- id: debug-statements
- id: flake8
additional_dependencies: