mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2025-08-14 17:31:28 +08:00
v1.2.2
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
sha: v1.2.1-1
|
sha: v1.2.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
@ -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
|
1.2.1-1
|
||||||
=======
|
=======
|
||||||
|
|
||||||
|
@ -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: 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:
|
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='1.2.1',
|
version='1.2.2',
|
||||||
|
|
||||||
author='Anthony Sottile',
|
author='Anthony Sottile',
|
||||||
author_email='asottile@umich.edu',
|
author_email='asottile@umich.edu',
|
||||||
|
Reference in New Issue
Block a user