From 186fd0cbf38945b7aa516ec87c037c71e8e2cd17 Mon Sep 17 00:00:00 2001 From: Lars Bilke Date: Mon, 23 Oct 2023 14:59:10 +0200 Subject: [PATCH] [pre-commit] Ignore git patch files on trailing-whitespace. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bb4d4a71c54..f26f2fd7eeb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ repos: hooks: - id: trailing-whitespace args: [--markdown-linebreak-ext=md, --markdown-linebreak-ext=pandoc] - exclude: "^ThirdParty/.*|^Tests/Data/.*|^web/static|^Documentation/.vale/.*" + exclude: "^ThirdParty/.*|^Tests/Data/.*|^web/static|^Documentation/.vale/.*|.*\\.patch" - id: check-added-large-files args: [--maxkb 1024] - id: check-merge-conflict