Skip to content

Commit cef0300

Browse files
committed
v5.0.0
1 parent f47ab2f commit cef0300

File tree

4 files changed

+27
-3
lines changed

4 files changed

+27
-3
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.6.0
3+
rev: v5.0.0
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer

CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
5.0.0 - 2024-10-05
2+
==================
3+
4+
### Features
5+
- `requirements-txt-fixer`: also remove `pkg_resources==...`.
6+
- #850 PR by @ericfrederich.
7+
- #1030 issue by @ericfrederich.
8+
- `check-illegal-windows-names`: new hook!
9+
- #1044 PR by @ericfrederich.
10+
- #589 issue by @ericfrederich.
11+
- #1049 PR by @Jeffrey-Lim.
12+
- `pretty-format-json`: continue processing even if a file has a json error.
13+
- #1039 PR by @amarvin.
14+
- #1038 issue by @amarvin.
15+
16+
### Fixes
17+
- `destroyed-symlinks`: set `stages` to `[pre-commit, pre-push, manual]`
18+
- PR #1085 by @AdrianDC.
19+
20+
### Migrating
21+
- pre-commit-hooks now requires `pre-commit>=3.2.0`.
22+
- use non-deprecated names for `stages`.
23+
- #1093 PR by @asottile.
24+
125
4.6.0 - 2024-04-06
226
==================
327

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Add this to your `.pre-commit-config.yaml`
1515

1616
```yaml
1717
- repo: https://github.com/pre-commit/pre-commit-hooks
18-
rev: v4.6.0 # Use the ref you want to point at
18+
rev: v5.0.0 # Use the ref you want to point at
1919
hooks:
2020
- id: trailing-whitespace
2121
# - id: ...

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = pre_commit_hooks
3-
version = 4.6.0
3+
version = 5.0.0
44
description = Some out-of-the-box hooks for pre-commit.
55
long_description = file: README.md
66
long_description_content_type = text/markdown

0 commit comments

Comments
 (0)