mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 18:16:52 +00:00
v2.4.0
This commit is contained in:
parent
d61d4a26db
commit
0161422b4e
4 changed files with 20 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.3.0
|
||||
rev: v2.4.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
|
|
|
|||
17
CHANGELOG.md
17
CHANGELOG.md
|
|
@ -1,3 +1,20 @@
|
|||
2.4.0 - 2019-10-28
|
||||
==================
|
||||
|
||||
### Features
|
||||
- Add diff output to `pretty-format-json` when run without `--autofix`.
|
||||
- #408 PR by @joepin.
|
||||
- Add `--chars` option to `trailing-whitespace` fixer to control which
|
||||
characters are stripped instead of all whitespace.
|
||||
- #421 PR by @iconmaster5326.
|
||||
|
||||
### Fixes
|
||||
- Fix `requirements-txt-fixer` when file does not end in a newline.
|
||||
- #414 issue by @barakreif.
|
||||
- #414 PR by @barakreif.
|
||||
- Fix double printing of filename in `pretty-format-json`.
|
||||
- #419 PR by @asottile.
|
||||
|
||||
2.3.0 - 2019-08-05
|
||||
==================
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ See also: https://github.com/pre-commit/pre-commit
|
|||
Add this to your `.pre-commit-config.yaml`
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.3.0 # Use the ref you want to point at
|
||||
rev: v2.4.0 # Use the ref you want to point at
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
# - id: ...
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[metadata]
|
||||
name = pre_commit_hooks
|
||||
version = 2.3.0
|
||||
version = 2.4.0
|
||||
description = Some out-of-the-box hooks for pre-commit.
|
||||
long_description = file: README.md
|
||||
long_description_content_type = text/markdown
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue