From 3793150fe4c41deb88dfa3829377e0a897a7893c Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 27 Sep 2024 18:30:09 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Update=20pre-commit=20end-of-fil?= =?UTF-8?q?e-fixer=20hook=20to=20exclude=20email-templates=20(#1296)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sebastián Ramírez --- .pre-commit-config.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c717bc0..512da01 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,11 @@ repos: args: - --unsafe - id: end-of-file-fixer - exclude: ^frontend/src/client/.* + exclude: | + (?x)^( + frontend/src/client/.*| + backend/app/email-templates/build/.* + )$ - id: trailing-whitespace exclude: ^frontend/src/client/.* - repo: https://github.com/charliermarsh/ruff-pre-commit