From 768e488a6bb237394ccbf2903ea01ac063acf139 Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Thu, 5 Oct 2023 19:37:04 -0700 Subject: [PATCH] python,misc: Add `check-symlinks` hook to pre-commit This hook checks that symlinks in the repo still point to valid location. Change-Id: I350760800406d9c003e81236af8248c6fc0a7359 --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4435b881dc..ab2b8be79f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -65,6 +65,7 @@ repos: - id: check-ast - id: check-case-conflict - id: check-merge-conflict + - id: check-symlinks - id: requirements-txt-fixer - repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt rev: 0.2.3