Skip to content

Commit 68f9540

Browse files
committed
chore: add detect-secrets and update pre-commit hooks versions
1 parent 39167a0 commit 68f9540

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v2.4.0
5+
rev: v6.0.0
66
hooks:
77
- id: check-ast
88
- id: trailing-whitespace
99
- id: check-toml
1010
- id: end-of-file-fixer
1111

1212
- repo: https://github.com/asottile/add-trailing-comma
13-
rev: v2.1.0
13+
rev: v4.0.0
1414
hooks:
1515
- id: add-trailing-comma
1616

@@ -19,6 +19,16 @@ repos:
1919
hooks:
2020
- id: typos
2121

22+
- repo: https://github.com/Yelp/detect-secrets
23+
rev: v1.5.0
24+
hooks:
25+
- id: detect-secrets
26+
args: [
27+
'--exclude-files', 'pnpm-lock.yaml',
28+
'--exclude-files', 'docs/README.md',
29+
'--exclude-lines', 'amqp://guest:guest@localhost:5672',
30+
]
31+
2232
- repo: local
2333
hooks:
2434
- id: black

0 commit comments

Comments
 (0)