-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
42 lines (37 loc) · 1.08 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
repos:
- repo: https://github.com/Yelp/detect-secrets
rev: v1.2.0
hooks:
- id: detect-secrets
name: detect secrets
args: [ '--baseline', '.secrets.baseline' ]
exclude: ^(yarn.lock|.yarn/|.yarnrc.yml|.gitguardian.yaml)
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
# - id: check-added-large-files
- id: check-json
- id: check-yaml
# - id: detect-aws-credentials
- id: detect-private-key
- id: no-commit-to-branch
args: [ --branch, main, --branch, master, --pattern, release/.* ]
# - repo: local
# hooks:
# - id: yarn-audit
# name: yarn audit
# entry: npx yarn audit --groups dependencies
# language: system
# pass_filenames: false
# - repo: local
# hooks:
# - id: trufflehog-git
# name: trufflehog git
# entry: trufflehog --debug git file://.
# language: system
# pass_filenames: false
# - repo: https://github.com/psf/black
# rev: 22.1.0
# hooks:
# - id: black
# language_version: python3.9