mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
v2.0.0
This commit is contained in:
parent
dbf7de0031
commit
e01bc2c2a1
4 changed files with 35 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v1.4.0
|
||||
rev: v2.0.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
|
|
|
|||
32
CHANGELOG.md
32
CHANGELOG.md
|
|
@ -1,3 +1,35 @@
|
|||
2.0.0
|
||||
=====
|
||||
|
||||
### Breaking changes
|
||||
|
||||
- `autopep8-wrapper` has been moved to
|
||||
[pre-commit/mirrors-autopep8][mirrors-autopep8]
|
||||
- #92 issue by @asottile.
|
||||
- #319 issue by @blaggacao.
|
||||
- #321 PR by @asottile.
|
||||
- `trailing-whitespace` defaults to `--no-markdown-linebreak-ext`
|
||||
- #310 issue by @asottile.
|
||||
- #324 PR by @asottile.
|
||||
- `hooks.yaml` (legacy pre-commit hook metadata) deleted
|
||||
- #323 PR by @asottile.
|
||||
- pre-`types` compatibility metadata removed
|
||||
- #323 PR @asottile.
|
||||
|
||||
### Docs
|
||||
|
||||
- Correct documentation for `no-commit-to-branch`
|
||||
- #318 PR by @milin.
|
||||
|
||||
### Updating
|
||||
|
||||
- Minimum supported version of `pre-commit` is now 0.15.0
|
||||
- Use `autopep8` from [pre-commit/mirrors-autopep8][mirrors-autopep8]
|
||||
- To keep mardown hard linebreaks, for `trailing-whitespace` use
|
||||
`args: [--markdown-linebreak-ext=md,markdown]` (the previous default value)
|
||||
|
||||
[mirrors-autopep8]: https://github.com/pre-commit/mirrors-autopep8
|
||||
|
||||
1.4.0-1
|
||||
=======
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ See also: https://github.com/pre-commit/pre-commit
|
|||
Add this to your `.pre-commit-config.yaml`
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v1.4.0 # Use the ref you want to point at
|
||||
rev: v2.0.0 # Use the ref you want to point at
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
# - id: ...
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -6,7 +6,7 @@ setup(
|
|||
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.4.0',
|
||||
version='2.0.0',
|
||||
|
||||
author='Anthony Sottile',
|
||||
author_email='asottile@umich.edu',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue