mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-07 20:26:54 +00:00
v0.9.2
This commit is contained in:
parent
31d9774748
commit
78dffcc819
4 changed files with 12 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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.
|
||||||
|
|
|
||||||
|
|
@ -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: ...
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue