Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 16 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,38 @@
repos:
- repo: https://github.com/pre-commit/mirrors-yapf.git
rev: v0.16.0
rev: v0.32.0
hooks:
- id: yapf
files: \.py$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: a11d9314b22d8f8c7556443875b731ef05965464
rev: v4.3.0
hooks:
- id: check-merge-conflict
- id: check-symlinks
- id: detect-private-key
files: (?!.*paddle)^.*$
- id: end-of-file-fixer
files: \.md$
files: \.md$|\.rst$
- id: trailing-whitespace
files: \.md$
files: \.md$|\.rst$
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.0.1
rev: v1.3.0
hooks:
- id: forbid-crlf
files: \.md$
files: \.md$|\.rst$
- id: remove-crlf
files: \.md$
files: \.md$|\.rst$
- id: forbid-tabs
files: \.md$
files: \.md$|\.rst$
- id: remove-tabs
files: \.md$
files: \.md$|\.rst$
- repo: https://github.com/ShigureLab/dochooks
rev: v0.3.0
hooks:
- id: check-whitespace-between-cn-and-en-char
files: \.md$|\.rst$
- id: insert-whitespace-between-cn-and-en-char
files: \.md$|\.rst$
- repo: https://github.com/reyoung/pre-commit-hooks-jinja-compile.git
rev: 4a369cc72a4a2b8d3813ab8cc17abb5f5b21ef6c
hooks:
Expand Down