-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
26 lines (25 loc) · 1.02 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
exclude: |
(?x)^(
^{{cookiecutter.project_slug}}/.devcontainer/docker-compose.yml|
^{{cookiecutter.project_slug}}/.github/workflows/test.yml|
^{{cookiecutter.project_slug}}/.github/workflows/deploy_to_fly_io.yml|
^{{cookiecutter.project_slug}}/.github/workflows/deploy_to_azure.yml|
^{{cookiecutter.project_slug}}/.github/workflows/deploy_to_aws.yml|
^{{cookiecutter.project_slug}}/.pre-commit-config.yaml|
^{{cookiecutter.project_slug}}/azure.yml
)
- id: check-added-large-files
- repo: https://github.com/Yelp/detect-secrets
rev: v1.5.0
hooks:
- id: detect-secrets
args: ["--baseline", ".secrets.baseline"]