mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-08 12:34:17 +00:00
v1.3.0
This commit is contained in:
parent
e931230641
commit
a6209d8d4f
4 changed files with 25 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: v1.2.3
|
rev: v1.3.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
|
|
||||||
22
CHANGELOG.md
22
CHANGELOG.md
|
|
@ -1,3 +1,25 @@
|
||||||
|
1.3.0
|
||||||
|
=====
|
||||||
|
|
||||||
|
### Features
|
||||||
|
- Add an `--unsafe` argument to `check-yaml` to allow custom yaml tags
|
||||||
|
- #273 issue by @blackillzone.
|
||||||
|
- #274 PR by @asottile.
|
||||||
|
- Automatically remove `pkg-resources==0.0.0` in `requirements-txt-fixer`
|
||||||
|
- #275 PR by @nvtkaszpir.
|
||||||
|
- Detect `breakpoint()` (python3.7+) in `debug-statements` hook.
|
||||||
|
- #283 PR by @asottile.
|
||||||
|
- Detect sshcom and putty hooks in `detect-private-key`
|
||||||
|
- #287 PR by @vin01.
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Open files as UTF-8 (`autopep8-wrapper`, `check-docstring-first`,
|
||||||
|
`double-quote-string-fixer`)
|
||||||
|
- #279 PR by @nvtkaszpir.
|
||||||
|
- Fix `AttributeError` in `check-builtin-literals` for some functions
|
||||||
|
- #285 issue by @EgoWumpus.
|
||||||
|
- #286 PR by @asottile.
|
||||||
|
|
||||||
1.2.3
|
1.2.3
|
||||||
=====
|
=====
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ See also: https://github.com/pre-commit/pre-commit
|
||||||
Add this to your `.pre-commit-config.yaml`
|
Add this to your `.pre-commit-config.yaml`
|
||||||
|
|
||||||
- repo: git://github.com/pre-commit/pre-commit-hooks
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
||||||
sha: v1.2.3 # Use the ref you want to point at
|
rev: v1.3.0 # Use the ref you want to point at
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
# - id: ...
|
# - id: ...
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -6,7 +6,7 @@ setup(
|
||||||
name='pre_commit_hooks',
|
name='pre_commit_hooks',
|
||||||
description='Some out-of-the-box hooks for pre-commit.',
|
description='Some out-of-the-box hooks for pre-commit.',
|
||||||
url='https://github.com/pre-commit/pre-commit-hooks',
|
url='https://github.com/pre-commit/pre-commit-hooks',
|
||||||
version='1.2.3',
|
version='1.3.0',
|
||||||
|
|
||||||
author='Anthony Sottile',
|
author='Anthony Sottile',
|
||||||
author_email='asottile@umich.edu',
|
author_email='asottile@umich.edu',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue