Skip to content

Commit 0161422

Browse files
committed
v2.4.0
1 parent d61d4a2 commit 0161422

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
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: v2.3.0
3+
rev: v2.4.0
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
2.4.0 - 2019-10-28
2+
==================
3+
4+
### Features
5+
- Add diff output to `pretty-format-json` when run without `--autofix`.
6+
- #408 PR by @joepin.
7+
- Add `--chars` option to `trailing-whitespace` fixer to control which
8+
characters are stripped instead of all whitespace.
9+
- #421 PR by @iconmaster5326.
10+
11+
### Fixes
12+
- Fix `requirements-txt-fixer` when file does not end in a newline.
13+
- #414 issue by @barakreif.
14+
- #414 PR by @barakreif.
15+
- Fix double printing of filename in `pretty-format-json`.
16+
- #419 PR by @asottile.
17+
118
2.3.0 - 2019-08-05
219
==================
320

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See also: https://github.com/pre-commit/pre-commit
1414
Add this to your `.pre-commit-config.yaml`
1515

1616
- repo: https://github.com/pre-commit/pre-commit-hooks
17-
rev: v2.3.0 # Use the ref you want to point at
17+
rev: v2.4.0 # Use the ref you want to point at
1818
hooks:
1919
- id: trailing-whitespace
2020
# - id: ...

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = pre_commit_hooks
3-
version = 2.3.0
3+
version = 2.4.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)