From 5ae886fe522356122f432a3ab71f1b70720fc771 Mon Sep 17 00:00:00 2001 From: Arash Hatami Date: Sun, 19 Jan 2025 15:40:20 +0330 Subject: [PATCH] chore: update default tags in examples --- sections/install.md | 4 ++-- sections/plugins.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 ```