mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 02:16:52 +00:00
v6.0.0
This commit is contained in:
parent
a8f86514f4
commit
3e8a870326
4 changed files with 24 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v5.0.0
|
||||
rev: v6.0.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
|
|
|
|||
21
CHANGELOG.md
21
CHANGELOG.md
|
|
@ -1,3 +1,24 @@
|
|||
6.0.0 - 2024-08-09
|
||||
==================
|
||||
|
||||
## Fixes
|
||||
- `check-shebang-scripts-are-executable`: improve error message.
|
||||
- #1115 PR by @homebysix.
|
||||
|
||||
## Migrating
|
||||
- now requires python >= 3.9.
|
||||
- #1098 PR by @asottile.
|
||||
- `file-contents-sorter`: disallow `--unique` and `--ignore-case` at the same
|
||||
time.
|
||||
- #1095 PR by @nemacysts.
|
||||
- #794 issue by @teksturi.
|
||||
- Removed `check-byte-order-marker` and `fix-encoding-pragma`.
|
||||
- `check-byte-order-marker`: migrate to `fix-byte-order-marker`.
|
||||
- `fix-encoding-pragma`: migrate to `pyupgrade`.
|
||||
- #1034 PR by @mxr.
|
||||
- #1032 issue by @mxr.
|
||||
- #522 PR by @jgowdy.
|
||||
|
||||
5.0.0 - 2024-10-05
|
||||
==================
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Add this to your `.pre-commit-config.yaml`
|
|||
|
||||
```yaml
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v5.0.0 # Use the ref you want to point at
|
||||
rev: v6.0.0 # Use the ref you want to point at
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
# - id: ...
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[metadata]
|
||||
name = pre_commit_hooks
|
||||
version = 5.0.0
|
||||
version = 6.0.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