mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-09 04:54:16 +00:00
v3.1.0
This commit is contained in:
parent
e37b2795ff
commit
ebc15added
4 changed files with 20 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.0.1
|
rev: v3.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
|
|
||||||
17
CHANGELOG.md
17
CHANGELOG.md
|
|
@ -1,3 +1,20 @@
|
||||||
|
3.1.0 - 2020-05-20
|
||||||
|
==================
|
||||||
|
|
||||||
|
### Features
|
||||||
|
- `check-executables-have-shebangs`: on windows, validate the mode bits using
|
||||||
|
`git`
|
||||||
|
- #480 PR by @mxr.
|
||||||
|
- #435 issue by @dstandish.
|
||||||
|
- `requirements-txt-fixer`: support more operators
|
||||||
|
- #483 PR by @mxr.
|
||||||
|
- #331 issue by @hackedd.
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- `pre-commit-hooks-removed`: Fix when removed hooks used `args`
|
||||||
|
- #487 PR by @pedrocalleja.
|
||||||
|
- #485 issue by @pedrocalleja.
|
||||||
|
|
||||||
3.0.1 - 2020-05-16
|
3.0.1 - 2020-05-16
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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: v3.0.1 # Use the ref you want to point at
|
rev: v3.1.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.0.1
|
version = 3.1.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