Skip to content

Commit 9cc62e1

Browse files
committed
v4.0.0
1 parent b0b1a41 commit 9cc62e1

File tree

4 files changed

+39
-3
lines changed

4 files changed

+39
-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: v3.4.0
3+
rev: v4.0.0
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer

CHANGELOG.md

+36
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
4.0.0 - 2021-05-14
2+
==================
3+
4+
### Features
5+
- `check-json`: report duplicate keys.
6+
- #558 PR by @AdityaKhursale.
7+
- #554 issue by @adamchainz.
8+
- `no-commit-to-branch`: add `main` to default blocked branches.
9+
- #565 PR by @ndevenish.
10+
- `check-case-conflict`: check conflicts in directory names as well.
11+
- #575 PR by @slsyy.
12+
- #70 issue by @andyjack.
13+
- `check-vcs-permalinks`: forbid other branch names.
14+
- #582 PR by @jack1142.
15+
- #581 issue by @jack1142.
16+
- `check-shebang-scripts-are-executable`: new hook which ensures shebang'd
17+
scripts are executable.
18+
- #545 PR by @scop.
19+
20+
### Fixes
21+
- `check-executables-have-shebangs`: Short circuit shebang lookup on windows.
22+
- #544 PR by @scop.
23+
- `requirements-txt-fixer`: Fix comments which have indentation
24+
- #549 PR by @greshilov.
25+
- #548 issue by @greshilov.
26+
- `pretty-format-json`: write to stdout using UTF-8 encoding.
27+
- #571 PR by @jack1142.
28+
- #570 issue by @jack1142.
29+
- Use more inclusive language.
30+
- #599 PR by @asottile.
31+
32+
### Breaking changes
33+
- Remove deprecated hooks: `flake8`, `pyflakes`, `autopep8-wrapper`.
34+
- #597 PR by @asottile.
35+
36+
137
3.4.0 - 2020-12-15
238
==================
339

README.md

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

1717
```yaml
1818
- repo: https://github.com/pre-commit/pre-commit-hooks
19-
rev: v3.4.0 # Use the ref you want to point at
19+
rev: v4.0.0 # Use the ref you want to point at
2020
hooks:
2121
- id: trailing-whitespace
2222
# - 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 = 3.4.0
3+
version = 4.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)