This commit is contained in:
Anthony Sottile
2018-02-28 09:01:18 -08:00
parent 7efec83404
commit 1b12723c29
4 changed files with 11 additions and 3 deletions

View File

@ -1,6 +1,6 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
sha: v1.2.1-1 sha: v1.2.2
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
- id: end-of-file-fixer - id: end-of-file-fixer

View File

@ -1,3 +1,11 @@
1.2.2
=====
### Fixes
- `trailing-whitespace` no longer adds a missing newline at end-of-file
- #270 issue by @fractos.
- #271 PR by @asottile.
1.2.1-1 1.2.1-1
======= =======

View File

@ -15,7 +15,7 @@ See also: https://github.com/pre-commit/pre-commit
Add this to your `.pre-commit-config.yaml` Add this to your `.pre-commit-config.yaml`
- repo: git://github.com/pre-commit/pre-commit-hooks - repo: git://github.com/pre-commit/pre-commit-hooks
sha: v1.2.1-1 # Use the ref you want to point at sha: v1.2.2 # Use the ref you want to point at
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
# - id: ... # - id: ...

View File

@ -6,7 +6,7 @@ setup(
name='pre_commit_hooks', name='pre_commit_hooks',
description='Some out-of-the-box hooks for pre-commit.', description='Some out-of-the-box hooks for pre-commit.',
url='https://github.com/pre-commit/pre-commit-hooks', url='https://github.com/pre-commit/pre-commit-hooks',
version='1.2.1', version='1.2.2',
author='Anthony Sottile', author='Anthony Sottile',
author_email='asottile@umich.edu', author_email='asottile@umich.edu',