-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
28 lines (28 loc) · 906 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
28 lines (28 loc) · 906 Bytes
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
27
28
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.25.1
hooks:
- id: gitleaks
name: "Gitleaks"
description: "Check for secrets in the repository"
- repo: https://github.com/Yelp/detect-secrets
rev: v1.5.0
hooks:
- id: detect-secrets
args: ["--baseline", ".secrets.baseline"]
name: "Detect Secrets"
description: "Check for secrets in the repository"
- repo: https://github.com/commitizen-tools/commitizen
rev: v4.6.0
hooks:
- id: commitizen
name: "Detect commit message style issues"
description: "Use Commitizen to detect commit message style issues"
stages: [commit-msg]
- repo: https://github.com/psf/black
rev: 25.1.0
hooks:
- id: black
name: "Detect code style issues"
description: "Use Black to detect code style issues"
stages: [pre-push]