Skip to content

Commit 5ae886f

Browse files
committed
chore: update default tags in examples
1 parent fd14f06 commit 5ae886f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sections/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ pre-commit --version
4646
```yaml
4747
repos:
4848
- repo: https://github.com/pre-commit/pre-commit-hooks
49-
rev: v2.3.0
49+
rev: v5.0.0
5050
hooks:
5151
- id: check-yaml
5252
- id: end-of-file-fixer
5353
- id: trailing-whitespace
5454
- repo: https://github.com/psf/black
55-
rev: 22.10.0
55+
rev: 24.10.0
5656
hooks:
5757
- id: black
5858
```

sections/plugins.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ A sample repository:
8787
```yaml
8888
repos:
8989
- repo: https://github.com/pre-commit/pre-commit-hooks
90-
rev: v1.2.3
90+
rev: v5.0.0
9191
hooks:
9292
- ...
9393
```
@@ -161,7 +161,7 @@ One example of a complete configuration:
161161
```yaml
162162
repos:
163163
- repo: https://github.com/pre-commit/pre-commit-hooks
164-
rev: v1.2.3
164+
rev: v5.0.0
165165
hooks:
166166
- id: trailing-whitespace
167167
```

0 commit comments

Comments
 (0)