

add `detect-secrets` pre-commit hook
@0d207cc717ef68048104eee3f6f3a946905ce93b
--- .pre-commit-config.yaml
+++ .pre-commit-config.yaml
... | ... | @@ -8,6 +8,7 @@ |
8 | 8 |
- id: end-of-file-fixer |
9 | 9 |
- id: check-yaml |
10 | 10 |
- id: check-added-large-files |
11 |
+ args: ['--maxkb=500'] # default: 500 |
|
11 | 12 |
- repo: https://github.com/python-jsonschema/check-jsonschema |
12 | 13 |
rev: 0.30.0 |
13 | 14 |
hooks: |
... | ... | @@ -38,4 +39,8 @@ |
38 | 39 |
rev: 1.23.1 |
39 | 40 |
hooks: |
40 | 41 |
- id: basedpyright |
41 |
- pass_filenames: false |
|
42 |
+ pass_filenames: false # TODO: document |
|
43 |
+ - repo: https://github.com/Yelp/detect-secrets |
|
44 |
+ rev: v1.5.0 |
|
45 |
+ hooks: |
|
46 |
+ - id: detect-secrets |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?