mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
v4.2.0
This commit is contained in:
parent
372afe4210
commit
db7346d375
4 changed files with 26 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.1.0
|
||||
rev: v4.2.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
|
|
|
|||
23
CHANGELOG.md
23
CHANGELOG.md
|
|
@ -1,3 +1,26 @@
|
|||
4.2.0 - 2022-04-06
|
||||
==================
|
||||
|
||||
### Features
|
||||
- `name-tests-test`: updated display text.
|
||||
- #713 PR by @asottile.
|
||||
- `check-docstring-first`: make output more parsable.
|
||||
- #748 PR by @asottile.
|
||||
- `check-merge-conflict`: make output more parsable.
|
||||
- #748 PR by @asottile.
|
||||
- `debug-statements`: make output more parsable.
|
||||
- #748 PR by @asottile.
|
||||
|
||||
### Fixes
|
||||
- `check-merge-conflict`: fix detection of `======` conflict marker on windows.
|
||||
- #748 PR by @asottile.
|
||||
|
||||
### Updating
|
||||
- Drop python<3.7.
|
||||
- #719 PR by @asottile.
|
||||
- Changed default branch from `master` to `main`.
|
||||
- #744 PR by @asottile.
|
||||
|
||||
4.1.0 - 2021-12-22
|
||||
==================
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Add this to your `.pre-commit-config.yaml`
|
|||
|
||||
```yaml
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.1.0 # Use the ref you want to point at
|
||||
rev: v4.2.0 # Use the ref you want to point at
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
# - id: ...
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[metadata]
|
||||
name = pre_commit_hooks
|
||||
version = 4.1.0
|
||||
version = 4.2.0
|
||||
description = Some out-of-the-box hooks for pre-commit.
|
||||
long_description = file: README.md
|
||||
long_description_content_type = text/markdown
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue