v1.2.2
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 @@
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 @@
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',