提交 a6af0f6e 编写于 作者: G gongweibao

moidfy .pre-commit-config.yaml

上级 adf4c974
......@@ -13,7 +13,7 @@
files: \.md$
- id: trailing-whitespace
files: \.md$
- repo: https://github.com/Lucas-C/pre-commit-hooks
- repo: git://github.com/Lucas-C/pre-commit-hooks
sha: v1.0.1
hooks:
- id: forbid-crlf
......@@ -32,3 +32,11 @@
entry: python pre-commit-hooks/convert_markdown_into_html.py
language: system
files: \.md$
- repo: local
hooks:
- id: convert-markdown-into-ipynb
name: convert-markdown-into-ipynb
description: "Convert README.md into README.ipynb and README.en.md into README.en.ipynb"
entry: ./pre-commit-hooks/convert_markdown_into_ipynb.sh
language: system
files: \.md$
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册