Skip to content

Commit 01d67f2

Browse files
authored
Fix pre-commit hook (#2463)
1 parent 578fcae commit 01d67f2

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
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: v3.2.0
5+
rev: v5.0.0
66
hooks:
77
- id: trailing-whitespace
8-
exclude: ^(LICENSE.md|.*\.swiftinterface)$
8+
exclude: |
9+
(?x)^(
10+
.*LICENSE.md|
11+
.*\.swiftinterface
12+
)$
913
- id: end-of-file-fixer
1014
exclude: ".*.list"
1115
- id: check-yaml
@@ -14,16 +18,16 @@ repos:
1418
- id: check-byte-order-marker
1519
- id: check-merge-conflict
1620
- repo: "https://github.com/realm/SwiftLint"
17-
rev: 0.55.1
21+
rev: 0.58.2
1822
hooks:
1923
- id: swiftlint
2024
entry: swiftlint --fix --strict
2125
- repo: https://github.com/psf/black
22-
rev: 24.4.2
26+
rev: 25.1.0
2327
hooks:
2428
- id: black
2529
language_version: python3.12
2630
- repo: https://github.com/gitleaks/gitleaks
27-
rev: v8.16.1
31+
rev: v8.24.0
2832
hooks:
2933
- id: gitleaks

0 commit comments

Comments
 (0)