Skip to content
GitLab
探索
项目
群组
代码片段
项目
群组
代码片段
/
帮助
帮助
支持
社区论坛
快捷键
?
提交反馈
登录
切换导航
菜单
打开侧边栏
ExternalRepo
pre-commit-hooks
提交
78818b90
提交
78818b90
编辑于
8年前
作者:
Anthony Sottile
浏览文件
操作
下载
电子邮件补丁
差异文件
v0.8.0
上级
5bf6c09b
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
v1.3.0
v1.2.3
v1.2.2
v1.2.1
v1.2.1-1
v1.2.0
v1.1.1
v1.1.0
v1.0.0
v0.9.5
v0.9.4
v0.9.3
v0.9.2
v0.9.1
v0.9.0
v0.8.0
无相关合并请求
变更
4
Hide whitespace changes
Inline
Side-by-side
显示
4 个更改的文件
.pre-commit-config.yaml
+1
-1
.pre-commit-config.yaml
CHANGELOG
+7
-0
CHANGELOG
README.md
+1
-1
README.md
setup.py
+1
-1
setup.py
有
10 个添加
和
3 个删除
+10
-3
.pre-commit-config.yaml
+
1
-
1
浏览文件 @
78818b90
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
sha
:
dc50b7f09c9612624c97e7f11fa346937c37f444
sha
:
v0.8.0
hooks
:
-
id
:
trailing-whitespace
-
id
:
end-of-file-fixer
...
...
This diff is collapsed.
Click to expand it.
CHANGELOG
+
7
-
0
浏览文件 @
78818b90
0.8.0
=====
- Add flag allowing missing keys to `detect-aws-credentials`
- Handle django default `tests.py` in `name-tests-test`
- Add `--no-ensure-ascii` option to `pretty-format-json`
- Add `no-commit-to-branch` hook
0.7.1
=====
- Don't false positive on files where trailing whitespace isn't changed.
...
...
This diff is collapsed.
Click to expand it.
README.md
+
1
-
1
浏览文件 @
78818b90
...
...
@@ -15,7 +15,7 @@ See also: https://github.com/pre-commit/pre-commit
Add this to your
`.pre-commit-config.yaml`
- repo: git://github.com/pre-commit/pre-commit-hooks
sha: v0.
7.1
# Use the ref you want to point at
sha: v0.
8.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
浏览文件 @
78818b90
...
...
@@ -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
=
'0.
7.1
'
,
version
=
'0.
8.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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录
菜单
探索
项目
群组
代码片段