From 1b12723c290fd2fe5ff7ad318b5698ec91b6ac47 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Wed, 28 Feb 2018 09:01:18 -0800 Subject: [PATCH] v1.2.2 --- .pre-commit-config.yaml | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 2 +- setup.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index baf84ef..94ed36e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - sha: v1.2.1-1 + sha: v1.2.2 hooks: - id: trailing-whitespace - id: end-of-file-fixer diff --git a/CHANGELOG.md b/CHANGELOG.md index 70eec76..2290548 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 ======= diff --git a/README.md b/README.md index f1c42af..15ba9c5 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ See also: https://github.com/pre-commit/pre-commit Add this to your `.pre-commit-config.yaml` - 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: - id: trailing-whitespace # - id: ... diff --git a/setup.py b/setup.py index a5b3922..daee309 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name='pre_commit_hooks', description='Some out-of-the-box hooks for pre-commit.', url='https://github.com/pre-commit/pre-commit-hooks', - version='1.2.1', + version='1.2.2', author='Anthony Sottile', author_email='asottile@umich.edu',