@@ -462,7 +462,7 @@ <h3>Basic configuration</h3>
462462 < code data-trim class ="language-yaml " data-line-numbers ="1-8|1|2-8|2|3|4-8 " data-fragment-index ="1 ">
463463 repos:
464464 - repo: https://github.com/pre-commit/pre-commit-hooks
465- rev: v4.5 .0
465+ rev: v4.6 .0
466466 hooks:
467467 - id: check-toml
468468 - id: check-yaml
@@ -546,7 +546,7 @@ <h2>Example solution</h2>
546546 < code data-trim class ="language-diff hide-line-numbers " data-line-numbers ="5-6 ">
547547 repos:
548548 - repo: https://github.com/pre-commit/pre-commit-hooks
549- rev: v4.5 .0
549+ rev: v4.6 .0
550550 hooks:
551551 + - id: check-executables-have-shebangs
552552 + - id: check-shebang-scripts-are-executable
@@ -628,15 +628,15 @@ <h3>
628628 < code data-trim class ="language-yaml " data-line-numbers ="10-15|10|11|12-15|14 " data-fragment-index ="1 ">
629629 repos:
630630 - repo: https://github.com/pre-commit/pre-commit-hooks
631- rev: v4.5 .0
631+ rev: v4.6 .0
632632 hooks:
633633 - id: check-toml
634634 - id: check-yaml
635635 - id: end-of-file-fixer
636636 - id: trailing-whitespace
637637
638638 - repo: https://github.com/astral-sh/ruff-pre-commit
639- rev: v0.4.10
639+ rev: v0.11.9
640640 hooks:
641641 - id: ruff
642642 args: [--fix, --exit-non-zero-on-fix, --show-fixes]
@@ -905,7 +905,7 @@ <h3>Modifying hook behavior with command line arguments</h3>
905905 < pre >
906906 < code data-trim class ="language-yaml hide-line-numbers " data-line-numbers ="4-5 ">
907907 - repo: https://github.com/astral-sh/ruff-pre-commit
908- rev: v0.4.10
908+ rev: v0.11.9
909909 hooks:
910910 - id: ruff
911911 args: [--fix, --exit-non-zero-on-fix, --show-fixes]
@@ -1039,8 +1039,8 @@ <h2>Keeping hooks up-to-date</h2>
10391039 < pre >
10401040 < code data-trim class ="language-shell hide-line-numbers " data-line-numbers ="1 ">
10411041 $ pre-commit autoupdate
1042- Updating [...]/pre-commit-hooks ... updating v4.5 .0 -> v4.6 .0.
1043- Updating [...]/ruff-pre-commit ... updating v0.4.10 - > v0.5.1 .
1042+ Updating [...]/pre-commit-hooks ... updating v4.6 .0 -> v5.0 .0.
1043+ Updating [...]/ruff-pre-commit ... already up to date .
10441044 Updating [...]/numpy/numpydoc ... already up to date.
10451045 </ code >
10461046 </ pre >
0 commit comments