diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b8941ba3802..9000c17f6e9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,9 @@ repos: rev: v3.2.0 hooks: - id: trailing-whitespace + exclude: \.(diff|patch)$ - id: end-of-file-fixer + exclude: \.(diff|patch)$ - id: check-yaml - id: check-added-large-files