Browse Source
👷 Update pre-commit end-of-file-fixer hook to exclude email-templates (#1296)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
pull/13907/head
Chris
10 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
5 additions and
1 deletions
-
.pre-commit-config.yaml
|
@ -10,7 +10,11 @@ repos: |
|
|
args: |
|
|
args: |
|
|
- --unsafe |
|
|
- --unsafe |
|
|
- id: end-of-file-fixer |
|
|
- id: end-of-file-fixer |
|
|
exclude: ^frontend/src/client/.* |
|
|
exclude: | |
|
|
|
|
|
(?x)^( |
|
|
|
|
|
frontend/src/client/.*| |
|
|
|
|
|
backend/app/email-templates/build/.* |
|
|
|
|
|
)$ |
|
|
- id: trailing-whitespace |
|
|
- id: trailing-whitespace |
|
|
exclude: ^frontend/src/client/.* |
|
|
exclude: ^frontend/src/client/.* |
|
|
- repo: https://github.com/charliermarsh/ruff-pre-commit |
|
|
- repo: https://github.com/charliermarsh/ruff-pre-commit |
|
|