mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-08 20:44:18 +00:00
v4.0.0
This commit is contained in:
parent
b0b1a413c6
commit
9cc62e1a63
4 changed files with 39 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: v3.4.0
|
rev: v4.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
|
|
||||||
36
CHANGELOG.md
36
CHANGELOG.md
|
|
@ -1,3 +1,39 @@
|
||||||
|
4.0.0 - 2021-05-14
|
||||||
|
==================
|
||||||
|
|
||||||
|
### Features
|
||||||
|
- `check-json`: report duplicate keys.
|
||||||
|
- #558 PR by @AdityaKhursale.
|
||||||
|
- #554 issue by @adamchainz.
|
||||||
|
- `no-commit-to-branch`: add `main` to default blocked branches.
|
||||||
|
- #565 PR by @ndevenish.
|
||||||
|
- `check-case-conflict`: check conflicts in directory names as well.
|
||||||
|
- #575 PR by @slsyy.
|
||||||
|
- #70 issue by @andyjack.
|
||||||
|
- `check-vcs-permalinks`: forbid other branch names.
|
||||||
|
- #582 PR by @jack1142.
|
||||||
|
- #581 issue by @jack1142.
|
||||||
|
- `check-shebang-scripts-are-executable`: new hook which ensures shebang'd
|
||||||
|
scripts are executable.
|
||||||
|
- #545 PR by @scop.
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- `check-executables-have-shebangs`: Short circuit shebang lookup on windows.
|
||||||
|
- #544 PR by @scop.
|
||||||
|
- `requirements-txt-fixer`: Fix comments which have indentation
|
||||||
|
- #549 PR by @greshilov.
|
||||||
|
- #548 issue by @greshilov.
|
||||||
|
- `pretty-format-json`: write to stdout using UTF-8 encoding.
|
||||||
|
- #571 PR by @jack1142.
|
||||||
|
- #570 issue by @jack1142.
|
||||||
|
- Use more inclusive language.
|
||||||
|
- #599 PR by @asottile.
|
||||||
|
|
||||||
|
### Breaking changes
|
||||||
|
- Remove deprecated hooks: `flake8`, `pyflakes`, `autopep8-wrapper`.
|
||||||
|
- #597 PR by @asottile.
|
||||||
|
|
||||||
|
|
||||||
3.4.0 - 2020-12-15
|
3.4.0 - 2020-12-15
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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: v3.4.0 # Use the ref you want to point at
|
rev: v4.0.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 = 3.4.0
|
version = 4.0.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