From 7e32d88f7361bba2cf4827119549d03ab05407cc Mon Sep 17 00:00:00 2001 From: Bianca Henderson Date: Thu, 29 Feb 2024 17:45:42 -0500 Subject: [PATCH] Add git diff hook to pre-commit CI runs --- .pre-commit-config.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 39d6a259..63adb11c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,3 +42,11 @@ repos: hooks: - id: check-hooks-apply - id: check-useless-excludes + - repo: local + hooks: + - id: git-diff + name: git diff + entry: git diff --exit-code + language: system + pass_filenames: false + always_run: true