Skip to content

Commit 6b40922

Browse files
committed
🔧 Update regex to exclude
1 parent b216284 commit 6b40922

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ 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/.*
16-
- id: end-of-file-fixer
17-
exclude: ^backend/app/email-templates/build/.*
1820
- repo: https://github.com/charliermarsh/ruff-pre-commit
1921
rev: v0.2.2
2022
hooks:

0 commit comments

Comments
 (0)