Skip to content
GitLab
探索
项目
群组
代码片段
项目
群组
代码片段
/
帮助
帮助
支持
社区论坛
快捷键
?
提交反馈
登录
切换导航
菜单
打开侧边栏
ExternalRepo
pre-commit-hooks
提交
7192665e
提交
7192665e
编辑于
7年前
作者:
Anthony Sottile
浏览文件
操作
下载
电子邮件补丁
差异文件
v0.9.1
上级
16879bcf
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
无相关合并请求
变更
4
Hide whitespace changes
Inline
Side-by-side
显示
4 个更改的文件
.pre-commit-config.yaml
+1
-1
.pre-commit-config.yaml
CHANGELOG
+4
-0
CHANGELOG
README.md
+1
-1
README.md
setup.py
+1
-1
setup.py
有
7 个添加
和
3 个删除
+7
-3
.pre-commit-config.yaml
+
1
-
1
浏览文件 @
7192665e
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
sha
:
v0.9.
0
sha
:
v0.9.
1
hooks
:
-
id
:
trailing-whitespace
-
id
:
end-of-file-fixer
...
...
This diff is collapsed.
Click to expand it.
CHANGELOG
+
4
-
0
浏览文件 @
7192665e
0.9.1
=====
- Add `check-executables-have-shebangs` hook.
0.9.0
=====
- Add `sort-simple-yaml` hook
...
...
This diff is collapsed.
Click to expand it.
README.md
+
1
-
1
浏览文件 @
7192665e
...
...
@@ -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.9.
0
# Use the ref you want to point at
sha: v0.9.
1
# 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
浏览文件 @
7192665e
...
...
@@ -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.9.
0
'
,
version
=
'0.9.
1
'
,
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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录
菜单
探索
项目
群组
代码片段