This commit is contained in:
Anthony Sottile 2017-08-21 10:58:25 -07:00
parent 31d9774748
commit 78dffcc819
4 changed files with 12 additions and 3 deletions

View file

@ -1,5 +1,5 @@
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
sha: v0.9.1 sha: v0.9.2
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
- id: end-of-file-fixer - id: end-of-file-fixer

View file

@ -1,3 +1,12 @@
0.9.2
=====
- Report full python version in `check-ast`.
- Apply a more strict regular expression for `name-tests-test`
- Upgrade binding for `git-lfs` for `check-added-large-files`. The oldest
version that is supported is 2.2.1 (2.2.0 will incorrectly refer to all
files as "lfs" (false negative) and earlier versions will crash.
- `debug-statements` now works for non-utf-8 files.
0.9.1 0.9.1
===== =====
- Add `check-executables-have-shebangs` hook. - Add `check-executables-have-shebangs` hook.

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: v0.9.1 # Use the ref you want to point at sha: v0.9.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='0.9.1', version='0.9.2',
author='Anthony Sottile', author='Anthony Sottile',
author_email='asottile@umich.edu', author_email='asottile@umich.edu',