mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-10 13:24:18 +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:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.2.0
|
rev: v4.3.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- 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
|
4.2.0 - 2022-04-06
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,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.2.0 # Use the ref you want to point at
|
rev: v4.3.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.2.0
|
version = 4.3.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