👷 Update pre-commit end-of-file-fixer hook to exclude email-templates (#1296)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Chris
2024-09-27 18:30:09 +02:00
committed by GitHub
parent ab0d1bb12f
commit 3793150fe4

View File

@@ -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