Skip to content
GitLab
探索
项目
群组
代码片段
项目
群组
代码片段
/
帮助
帮助
支持
社区论坛
快捷键
?
提交反馈
登录
切换导航
菜单
打开侧边栏
ExternalRepo
pre-commit-hooks
提交
219c70a9
提交
219c70a9
编辑于
6年前
作者:
Anthony Sottile
浏览文件
操作
下载
电子邮件补丁
差异文件
v1.4.0
上级
a10dec19
main
remove-fix-encoding-pragma
v4.6.0
v4.5.0
v4.4.0
v4.3.0
v4.2.0
v4.1.0
v4.0.1
v4.0.0
v3.4.0
v3.3.0
v3.2.0
v3.1.0
v3.0.1
v3.0.0
v2.5.0
v2.4.0
v2.3.0
v2.2.3
v2.2.2
v2.2.1
v2.2.0
v2.1.0
v2.0.0
v1.4.0
v1.4.0-1
无相关合并请求
变更
4
Hide whitespace changes
Inline
Side-by-side
显示
4 个更改的文件
.pre-commit-config.yaml
+1
-1
.pre-commit-config.yaml
CHANGELOG.md
+24
-0
CHANGELOG.md
README.md
+1
-1
README.md
setup.py
+1
-1
setup.py
有
27 个添加
和
3 个删除
+27
-3
.pre-commit-config.yaml
+
1
-
1
浏览文件 @
219c70a9
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
...
...
This diff is collapsed.
Click to expand it.
CHANGELOG.md
+
24
-
0
浏览文件 @
219c70a9
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
=====
...
...
This diff is collapsed.
Click to expand it.
README.md
+
1
-
1
浏览文件 @
219c70a9
...
...
@@ -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: ...
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
-
1
浏览文件 @
219c70a9
...
...
@@ -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'
,
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
支持
Markdown
0%
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录
菜单
探索
项目
群组
代码片段