2 Star 0 Fork 0

mirrors_PaddlePaddle/FluidDoc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.pre-commit-config.yaml 956 Bytes
一键复制 编辑 原始数据 按行查看 历史
repos:
# Common hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-merge-conflict
- id: check-symlinks
- id: detect-private-key
files: (?!.*paddle)^.*$
- id: end-of-file-fixer
types: [text]
- id: trailing-whitespace
types: [text]
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.1
hooks:
- id: remove-crlf
types: [text]
- id: remove-tabs
types: [text]
# Document hooks
- repo: https://github.com/PFCCLab/dochooks
rev: v0.5.0
hooks:
- id: insert-whitespace-between-cn-and-en-char
files: \.md$|\.rst$
# For Python files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.3
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --no-cache]
types_or: [ python, pyi ]
- id: ruff-format
types_or: [ python, pyi, jupyter ]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_PaddlePaddle/FluidDoc.git
git@gitee.com:mirrors_PaddlePaddle/FluidDoc.git
mirrors_PaddlePaddle
FluidDoc
FluidDoc
develop

搜索帮助