diff --git a/sections/install.md b/sections/install.md index 3d6d4d85..405342f2 100644 --- a/sections/install.md +++ b/sections/install.md @@ -46,13 +46,13 @@ pre-commit --version ```yaml repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.3.0 + rev: v5.0.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 22.10.0 + rev: 24.10.0 hooks: - id: black ``` diff --git a/sections/plugins.md b/sections/plugins.md index 96cb213c..be934d2b 100644 --- a/sections/plugins.md +++ b/sections/plugins.md @@ -87,7 +87,7 @@ A sample repository: ```yaml repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v1.2.3 + rev: v5.0.0 hooks: - ... ``` @@ -161,7 +161,7 @@ One example of a complete configuration: ```yaml repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v1.2.3 + rev: v5.0.0 hooks: - id: trailing-whitespace ```