Skip to content

Commit 5ec9f94

Browse files
committed
Update pre-commit configs
Add exception for checking mkdocs.yaml
1 parent 21cad9a commit 5ec9f94

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ repos:
2222
- id: codespell
2323

2424
- repo: https://github.com/crate-ci/typos
25-
rev: v1.42.3
25+
rev: v1.44.0
2626
hooks:
2727
- id: typos

template/.pre-commit-config.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ repos:
66
hooks:
77
- id: check-toml
88
- id: check-yaml
9+
# mkdocs.yml uses !!python/name tags unsupported by the safe YAML loader
10+
exclude: ^mkdocs\.yml$
911
- id: end-of-file-fixer
1012
- id: trailing-whitespace
1113
args: [--markdown-linebreak-ext=md]
@@ -24,13 +26,13 @@ repos:
2426
- tomli
2527

2628
- repo: https://github.com/crate-ci/typos
27-
rev: v1.42.3
29+
rev: v1.44.0
2830
hooks:
2931
- id: typos
3032

3133
- repo: https://github.com/astral-sh/ruff-pre-commit
3234
# Ruff version.
33-
rev: v0.14.14
35+
rev: v0.15.4
3436
hooks:
3537
# Run the linter.
3638
- id: ruff

0 commit comments

Comments
 (0)