Skip to content

Commit 3793150

Browse files
goabongatiangolo
andauthored
đź‘· Update pre-commit end-of-file-fixer hook to exclude email-templates (#1296)
Co-authored-by: Sebastián RamĂ­rez <[email protected]>
1 parent ab0d1bb commit 3793150

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: ‎.pre-commit-config.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ repos:
1010
args:
1111
- --unsafe
1212
- id: end-of-file-fixer
13-
exclude: ^frontend/src/client/.*
13+
exclude: |
14+
(?x)^(
15+
frontend/src/client/.*|
16+
backend/app/email-templates/build/.*
17+
)$
1418
- id: trailing-whitespace
1519
exclude: ^frontend/src/client/.*
1620
- repo: https://github.com/charliermarsh/ruff-pre-commit

0 commit comments

Comments
 (0)