forked from HektorLin/adsl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
39 lines (29 loc) · 903 Bytes
/
.pre-commit-config.yaml
File metadata and controls
39 lines (29 loc) · 903 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
29
30
31
32
33
34
35
36
37
38
39
# repos:
# Removes output from Notebooks
# - repo: https://github.com/kynan/nbstripout
# rev: 0.6.1
# hooks:
# - id: nbstripout
# Checks for high-entrooy strings likely to be passwords
# Not working well in VS Code because it adds a hash
# to notebook that gets flagged. Requires more configuration.
# - repo: https://github.com/Yelp/detect-secrets
# rev: v1.3.0
# hooks:
# - id: detect-secrets
## Alternative pre-commit hooks:
# Requires Cargo installed
# - repo: https://github.com/sirwart/ripsecrets
# rev: v0.1.5
# hooks:
# - id: ripsecrets
## Requires Go lang installed
# - repo: https://github.com/zricethezav/gitleaks
# rev: v8.13.0
# hooks:
# - id: gitleaks
## Requires Git Guardian API key (free version available)
# - repo: https://github.com/gitguardian/gg-shield
# rev: v1.13.3
# hooks:
# - id: ggshield