@@ -480,7 +480,7 @@ <h3>Basic configuration</h3>
480480 < code data-trim class ="language-yaml " data-line-numbers ="1-8|1|2-8|2|3|4-8 " data-fragment-index ="1 ">
481481 repos:
482482 - repo: https://github.com/pre-commit/pre-commit-hooks
483- rev: v4.6 .0
483+ rev: v5.0 .0
484484 hooks:
485485 - id: check-toml
486486 - id: check-yaml
@@ -564,7 +564,7 @@ <h2>Example solution</h2>
564564 < code data-trim class ="language-diff hide-line-numbers " data-line-numbers ="5-6 ">
565565 repos:
566566 - repo: https://github.com/pre-commit/pre-commit-hooks
567- rev: v4.6 .0
567+ rev: v5.0 .0
568568 hooks:
569569 + - id: check-executables-have-shebangs
570570 + - id: check-shebang-scripts-are-executable
@@ -646,15 +646,15 @@ <h3>
646646 < code data-trim class ="language-yaml " data-line-numbers ="10-15|10|11|12-15|14 " data-fragment-index ="1 ">
647647 repos:
648648 - repo: https://github.com/pre-commit/pre-commit-hooks
649- rev: v4.6 .0
649+ rev: v5.0 .0
650650 hooks:
651651 - id: check-toml
652652 - id: check-yaml
653653 - id: end-of-file-fixer
654654 - id: trailing-whitespace
655655
656656 - repo: https://github.com/astral-sh/ruff-pre-commit
657- rev: v0.11.10
657+ rev: v0.11.12
658658 hooks:
659659 - id: ruff-check
660660 args: [--fix, --exit-non-zero-on-fix, --show-fixes]
@@ -923,7 +923,7 @@ <h3>Modifying hook behavior with command line arguments</h3>
923923 < pre >
924924 < code data-trim class ="language-yaml hide-line-numbers " data-line-numbers ="4-5 ">
925925 - repo: https://github.com/astral-sh/ruff-pre-commit
926- rev: v0.11.10
926+ rev: v0.11.12
927927 hooks:
928928 - id: ruff-check
929929 args: [--fix, --exit-non-zero-on-fix, --show-fixes]
@@ -1055,8 +1055,8 @@ <h2>Keeping hooks up-to-date</h2>
10551055 < pre >
10561056 < code data-trim class ="language-shell hide-line-numbers " data-line-numbers ="1 ">
10571057 $ pre-commit autoupdate
1058- Updating [...]/pre-commit-hooks ... updating v4.6.0 - > v5.0.0.
1059- Updating [...]/ruff-pre-commit ... already up to date!
1058+ Updating [...]/pre-commit-hooks ... already up to date!
1059+ Updating [...]/ruff-pre-commit ... updating v0.11.12 - > v0.11.13
10601060 Updating [...]/numpy/numpydoc ... already up to date!
10611061 </ code >
10621062 </ pre >
0 commit comments