v1.2.1
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 14257dc..478dbf9 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.0
+ sha: v1.2.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 73aabbc..0770077 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,13 @@
+1.2.1
+=====
+### Fixes:
+- `detect-aws-credentials` false positive when key was empty
+ - #258 issue by @PVSec.
+ - #260 PR by @PVSec.
+- `no-commit-to-branch` no longer crashes when not on a branch
+ - #265 issue by @hectorv.
+ - #266 PR by @asottile.
+
1.2.0
=====
### Features:
diff --git a/README.md b/README.md
index cd69edc..f9d8a59 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.0 # Use the ref you want to point at
+ sha: v1.2.1 # Use the ref you want to point at
hooks:
- id: trailing-whitespace
# - id: ...
diff --git a/setup.py b/setup.py
index 662ec62..a5b3922 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.0',
+ version='1.2.1',
author='Anthony Sottile',
author_email='asottile@umich.edu',