mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-10 21:34:18 +00:00
v4.5.0
This commit is contained in:
parent
ae9b59f2d4
commit
c4a0b88311
4 changed files with 27 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.4.0
|
rev: v4.5.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
|
|
||||||
24
CHANGELOG.md
24
CHANGELOG.md
|
|
@ -1,3 +1,27 @@
|
||||||
|
4.5.0 - 2023-10-07
|
||||||
|
==================
|
||||||
|
|
||||||
|
### Features
|
||||||
|
- `requirements-txt-fixer`: also sort `constraints.txt` by default.
|
||||||
|
- #857 PR by @lev-blit.
|
||||||
|
- #830 issue by @PLPeeters.
|
||||||
|
- `debug-statements`: add `bpdb` debugger.
|
||||||
|
- #942 PR by @mwip.
|
||||||
|
- #941 issue by @mwip.
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- `file-contents-sorter`: fix sorting an empty file.
|
||||||
|
- #944 PR by @RoelAdriaans.
|
||||||
|
- #935 issue by @paduszyk.
|
||||||
|
- `double-quote-string-fixer`: don't rewrite inside f-strings in 3.12+.
|
||||||
|
- #973 PR by @asottile.
|
||||||
|
- #971 issue by @XuehaiPan.
|
||||||
|
|
||||||
|
## Migrating
|
||||||
|
- now requires python >= 3.8.
|
||||||
|
- #926 PR by @asottile.
|
||||||
|
- #927 PR by @asottile.
|
||||||
|
|
||||||
4.4.0 - 2022-11-23
|
4.4.0 - 2022-11-23
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ Add this to your `.pre-commit-config.yaml`
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.4.0 # Use the ref you want to point at
|
rev: v4.5.0 # Use the ref you want to point at
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
# - id: ...
|
# - id: ...
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[metadata]
|
[metadata]
|
||||||
name = pre_commit_hooks
|
name = pre_commit_hooks
|
||||||
version = 4.4.0
|
version = 4.5.0
|
||||||
description = Some out-of-the-box hooks for pre-commit.
|
description = Some out-of-the-box hooks for pre-commit.
|
||||||
long_description = file: README.md
|
long_description = file: README.md
|
||||||
long_description_content_type = text/markdown
|
long_description_content_type = text/markdown
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue