File tree Expand file tree Collapse file tree 4 files changed +10
-0
lines changed
Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 128128 entry : detect-private-key
129129 language : python
130130 types : [text]
131+ - id : detect-web3-private-key
132+ name : detect web3 private key
133+ description : detects the presence of web3 private keys.
134+ entry : detect-web3-private-key
135+ language : python
136+ types : [text]
131137- id : double-quote-string-fixer
132138 name : fix double quoted strings
133139 description : replaces double quoted strings with single quoted strings.
Original file line number Diff line number Diff line change @@ -110,6 +110,9 @@ The following arguments are available:
110110#### ` detect-private-key `
111111Checks for the existence of private keys.
112112
113+ #### ` detect-web3-private-key `
114+ Checks for the existence of web3 private keys. Add ` # web3-private-key-ok ` to the end of the line to ignore false positives.
115+
113116#### ` double-quote-string-fixer `
114117This hook replaces double quoted strings with single quoted strings.
115118
File renamed without changes.
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ console_scripts =
4949 destroyed-symlinks = pre_commit_hooks.destroyed_symlinks:main
5050 detect-aws-credentials = pre_commit_hooks.detect_aws_credentials:main
5151 detect-private-key = pre_commit_hooks.detect_private_key:main
52+ detect-web3-private-key = pre_commit_hooks.detect_web3_private_key:main
5253 double-quote-string-fixer = pre_commit_hooks.string_fixer:main
5354 end-of-file-fixer = pre_commit_hooks.end_of_file_fixer:main
5455 file-contents-sorter = pre_commit_hooks.file_contents_sorter:main
You can’t perform that action at this time.
0 commit comments