mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
v4.3.0
This commit is contained in:
parent
526d9b0c3d
commit
3298ddab3c
4 changed files with 24 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.2.0
|
||||
rev: v4.3.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
|
|
|
|||
21
CHANGELOG.md
21
CHANGELOG.md
|
|
@ -1,3 +1,24 @@
|
|||
4.3.0 - 2022-06-07
|
||||
==================
|
||||
|
||||
### Features
|
||||
- `check-executables-have-shebangs`: use `git config core.fileMode` to
|
||||
determine if it should query `git`.
|
||||
- #730 PR by @Kurt-von-Laven.
|
||||
- `name-tests-test`: add `--pytest-test-first` test convention.
|
||||
- #779 PR by @asottile.
|
||||
|
||||
### Fixes
|
||||
- `check-shebang-scripts-are-executable`: update windows instructions.
|
||||
- #774 PR by @mdeweerd.
|
||||
- #770 issue by @mdeweerd.
|
||||
- `check-toml`: use stdlib `tomllib` when available.
|
||||
- #771 PR by @DanielNoord.
|
||||
- #755 issue by @sognetic.
|
||||
- `check-added-large-files`: don't run on non-file `stages`.
|
||||
- #778 PR by @asottile.
|
||||
- #777 issue by @skyj.
|
||||
|
||||
4.2.0 - 2022-04-06
|
||||
==================
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Add this to your `.pre-commit-config.yaml`
|
|||
|
||||
```yaml
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.2.0 # Use the ref you want to point at
|
||||
rev: v4.3.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.2.0
|
||||
version = 4.3.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