Skip to content

Commit 5fbf2f6

Browse files
committed
mtn: update pre-commit version
1 parent 39efe46 commit 5fbf2f6

1 file changed

Lines changed: 28 additions & 23 deletions

File tree

.pre-commit-config.yaml

Lines changed: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,38 @@ default_language_version:
33

44
exclude: "(data|_static/vendor)/.*"
55
repos:
6-
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.4.0
6+
- repo: https://gitlab.com/vojko.pribudic.foss/pre-commit-update
7+
rev: v0.7.0
88
hooks:
9-
- id: trailing-whitespace
10-
- id: end-of-file-fixer
11-
- id: mixed-line-ending
12-
- id: check-yaml
13-
- id: check-json
14-
- id: check-toml
15-
- id: check-added-large-files
16-
- id: check-case-conflict
17-
- id: check-merge-conflict
18-
- id: check-vcs-permalinks
19-
- id: detect-aws-credentials
9+
- id: pre-commit-update
10+
args: [--keep, pre-commit-update]
11+
- repo: https://github.com/pre-commit/pre-commit-hooks
12+
rev: v5.0.0
13+
hooks:
14+
- id: trailing-whitespace
15+
- id: end-of-file-fixer
16+
- id: mixed-line-ending
17+
- id: check-yaml
18+
- id: check-json
19+
- id: check-toml
20+
- id: check-added-large-files
21+
- id: check-case-conflict
22+
- id: check-merge-conflict
23+
- id: check-vcs-permalinks
24+
- id: detect-aws-credentials
2025
args: [--allow-missing-credentials]
21-
- id: detect-private-key
22-
- repo: https://github.com/astral-sh/ruff-pre-commit
23-
rev: v0.6.9
26+
- id: detect-private-key
27+
- repo: https://github.com/astral-sh/ruff-pre-commit
28+
rev: v0.12.0
2429
hooks:
2530
# Run the linter
26-
- id: ruff
27-
args: [ --fix ]
31+
- id: ruff
32+
args: [--fix]
2833
# Run the formatter
29-
- id: ruff-format
30-
- repo: https://github.com/codespell-project/codespell
31-
rev: v2.3.0
34+
- id: ruff-format
35+
- repo: https://github.com/codespell-project/codespell
36+
rev: v2.4.1
3237
hooks:
33-
- id: codespell
38+
- id: codespell
3439
additional_dependencies:
35-
- tomli
40+
- tomli

0 commit comments

Comments
 (0)