提交 219c70a9 编辑于 作者: Anthony Sottile's avatar Anthony Sottile
浏览文件

v1.4.0

显示 27 个添加3 个删除
+27 -3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.3.0
rev: v1.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
......
1.4.0
=====
### Features
- `no-commit-to-branch`: allow `--branch` to be specified multiple times
- #190 PR by @moas.
- #294 PR by @asottile.
- `check-merge-conflict`: add `--assume-in-merge` to force checks outside of a
merge commit situation
- #300 issue by @vinayinvicible.
- #301 PR by @vinayinvicible.
### Fixes
- Don't match whitespace in VCS urls
- #293 PR by @asottile.
- Fix invalid escape sequences
- #296 PR by @asottile.
- Fix `ResourcesWarning`s
- #297 PR by @asottile.
### Misc
- Test against python3.7
- #304 PR by @expobrain.
1.3.0
=====
......
......@@ -15,7 +15,7 @@ See also: https://github.com/pre-commit/pre-commit
Add this to your `.pre-commit-config.yaml`
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.3.0 # Use the ref you want to point at
rev: v1.4.0 # Use the ref you want to point at
hooks:
- id: trailing-whitespace
# - id: ...
......
......@@ -6,7 +6,7 @@ setup(
name='pre_commit_hooks',
description='Some out-of-the-box hooks for pre-commit.',
url='https://github.com/pre-commit/pre-commit-hooks',
version='1.3.0',
version='1.4.0',
author='Anthony Sottile',
author_email='asottile@umich.edu',
......
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册