mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-13 22:24:45 +00:00
v3.0.0
This commit is contained in:
parent
2e9347f00b
commit
66250ba9bf
4 changed files with 43 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: v2.5.0
|
rev: v3.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
|
|
||||||
40
CHANGELOG.md
40
CHANGELOG.md
|
|
@ -1,3 +1,43 @@
|
||||||
|
3.0.0 - 2020-05-14
|
||||||
|
==================
|
||||||
|
|
||||||
|
### Features
|
||||||
|
- `detect-aws-credentials`: skip empty aws keys
|
||||||
|
- #450 PR by @begoon.
|
||||||
|
- #449 issue by @begoon.
|
||||||
|
- `debug-statements`: add detection `wdb` debugger
|
||||||
|
- #452 PR by @itsdkey.
|
||||||
|
- #451 issue by @itsdkey.
|
||||||
|
- `requirements-txt-fixer`: support line continuation for dependencies
|
||||||
|
- #469 PR by @aniketbhatnagar.
|
||||||
|
- #465 issue by @aniketbhatnagar.
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- `detect-aws-credentials`: fix `UnicodeDecodeError` when running on non-UTF8
|
||||||
|
files.
|
||||||
|
- #453 PR by @asottile.
|
||||||
|
- #393 PR by @a7p
|
||||||
|
- #346 issue by @rpdelaney.
|
||||||
|
|
||||||
|
### Updating
|
||||||
|
- pre-commit/pre-commit-hooks now requires python3.6.1+
|
||||||
|
- #447 PR by @asottile.
|
||||||
|
- #455 PR by @asottile.
|
||||||
|
- `flake8` / `pyflakes` have been removed, use `flake8` from `pycqa/flake8`
|
||||||
|
instead:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- repo: https://gitlab.com/pycqa/flake8
|
||||||
|
rev: 3.8.1
|
||||||
|
hooks:
|
||||||
|
- id: flake8
|
||||||
|
```
|
||||||
|
|
||||||
|
- #476 PR by @asottile.
|
||||||
|
- #477 PR by @asottile.
|
||||||
|
- #344 issue by @asottile.
|
||||||
|
|
||||||
|
|
||||||
2.5.0 - 2020-02-04
|
2.5.0 - 2020-02-04
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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: v2.5.0 # Use the ref you want to point at
|
rev: v3.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 = 2.5.0
|
version = 3.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