Skip to content

Commit 1db6d65

Browse files
Merge pull request #83 from nasa/pre-commit-ci-update-config
chore: update pre-commit hooks
2 parents 07f6d6f + 12d66df commit 1db6d65

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,22 @@ ci:
33
autoupdate_commit_msg: "chore: update pre-commit hooks"
44
autoupdate_branch: "main"
55
autofix_prs: false # Comment "pre-commit.ci autofix" on a PR to trigger
6+
# markdown-link-check needs network access to validate URLs, but pre-commit.ci
7+
# runs hooks without internet, so every external link fails (Status: 0).
8+
# It still runs locally on commit. See PR #83.
9+
skip: [markdown-link-check]
610

711
default_language_version:
812
python: python3.10
913

1014
repos:
1115
- repo: https://github.com/gitleaks/gitleaks
12-
rev: v8.25.1
16+
rev: v8.30.0
1317
hooks:
1418
- id: gitleaks
1519

1620
- repo: https://github.com/pre-commit/pre-commit-hooks
17-
rev: v5.0.0
21+
rev: v6.0.0
1822
hooks:
1923
# Validate format
2024
- id: check-yaml
@@ -44,13 +48,13 @@ repos:
4448
exclude_types: ["jupyter", "text"]
4549

4650
- repo: https://github.com/tcort/markdown-link-check
47-
rev: v3.13.7
51+
rev: v3.14.2
4852
hooks:
4953
- id: markdown-link-check
5054
args: [ -q ]
5155

5256
- repo: https://github.com/astral-sh/ruff-pre-commit
53-
rev: v0.11.8
57+
rev: v0.15.15
5458
hooks:
5559
- id: ruff
5660
args: ["--fix", "--exit-non-zero-on-fix"]

0 commit comments

Comments
 (0)