Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

Commit 3d87ea3

Browse files
author
Marcelo Costa
committed
chore(precommit): Install pre-commit hook
1 parent 51e744f commit 3d87ea3

File tree

2 files changed

+91
-0
lines changed

2 files changed

+91
-0
lines changed

.pre-commit-config.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
repos:
2+
- repo: https://github.com/Yelp/detect-secrets.git
3+
rev: v0.13.1
4+
hooks:
5+
- id: detect-secrets
6+
args: ['--baseline', '.secrets.baseline']
7+
- repo: https://github.com/pre-commit/pre-commit-hooks
8+
rev: v2.5.0
9+
hooks:
10+
- id: end-of-file-fixer
11+
- id: no-commit-to-branch
12+
args: [--branch, develop, --branch, master, --pattern, release/.*]
13+
- repo: https://github.com/psf/black
14+
rev: 19.10b0
15+
hooks:
16+
- id: black

.secrets.baseline

+75
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
{
2+
"exclude": {
3+
"files": null,
4+
"lines": null
5+
},
6+
"generated_at": "2020-07-23T18:13:04Z",
7+
"plugins_used": [
8+
{
9+
"name": "AWSKeyDetector"
10+
},
11+
{
12+
"name": "ArtifactoryDetector"
13+
},
14+
{
15+
"base64_limit": 4.5,
16+
"name": "Base64HighEntropyString"
17+
},
18+
{
19+
"name": "BasicAuthDetector"
20+
},
21+
{
22+
"name": "CloudantDetector"
23+
},
24+
{
25+
"hex_limit": 3,
26+
"name": "HexHighEntropyString"
27+
},
28+
{
29+
"name": "IbmCloudIamDetector"
30+
},
31+
{
32+
"name": "IbmCosHmacDetector"
33+
},
34+
{
35+
"name": "JwtTokenDetector"
36+
},
37+
{
38+
"keyword_exclude": null,
39+
"name": "KeywordDetector"
40+
},
41+
{
42+
"name": "MailchimpDetector"
43+
},
44+
{
45+
"name": "PrivateKeyDetector"
46+
},
47+
{
48+
"name": "SlackDetector"
49+
},
50+
{
51+
"name": "SoftlayerDetector"
52+
},
53+
{
54+
"name": "StripeDetector"
55+
},
56+
{
57+
"name": "TwilioKeyDetector"
58+
}
59+
],
60+
"results": {
61+
"assets/stylesheets/font-awesome.css": [
62+
{
63+
"hashed_secret": "51de2b835bd35a67eb32dbcd3d77d4b96e5aa39d",
64+
"is_verified": false,
65+
"line_number": 1734,
66+
"type": "Secret Keyword"
67+
}
68+
]
69+
},
70+
"version": "0.13.1",
71+
"word_list": {
72+
"file": null,
73+
"hash": null
74+
}
75+
}

0 commit comments

Comments
 (0)