Skip to content

Commit

Permalink
infra: update hook versions in .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
This removes some "uses deprecated stage names (commit,
merge-commit, push)" warnings for some of them, however one still
remains (shfmt) as the upstream repo didn't create a new release.

Versions of other repos that didn't issue any warning were also updated.
  • Loading branch information
MarkoSagadin committed Nov 19, 2024
1 parent 4a6c365 commit 0a6776c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
stages: [pre-commit]
Expand Down Expand Up @@ -39,7 +39,7 @@ repos:
stages: [pre-commit]
# typos uses typos.toml to find and fix typos
- repo: https://github.com/crate-ci/typos
rev: v1.19.0
rev: v1.27.3
hooks:
- id: typos
stages: [pre-commit]
Expand All @@ -50,7 +50,7 @@ repos:
- id: committed
stages: [commit-msg]
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.28.0
rev: 0.29.4
hooks:
- id: check-github-workflows
stages: [pre-commit]
Expand All @@ -60,13 +60,13 @@ repos:
- id: shellcheck
stages: [pre-commit]
- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.8.0-1
rev: v3.10.0-1
hooks:
- id: shfmt
stages: [pre-commit]
args: [--indent=4, --simplify, --write]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.4
rev: v0.7.4
hooks:
- id: ruff
args: [--fix]
Expand All @@ -83,7 +83,7 @@ repos:
stages: [pre-commit]
# markdownlint-cli uses .markdownlint.yaml to lint markdown files
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.39.0
rev: v0.42.0
hooks:
- id: markdownlint
exclude: CHANGELOG.md
Expand Down

0 comments on commit 0a6776c

Please sign in to comment.