1 Star 0 Fork 0

工頁光軍/PaddleSlim

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.pre-commit-config.yaml 1.24 KB
一键复制 编辑 原始数据 按行查看 历史
ceci3 提交于 2023-01-17 14:00 . fix unittest (#1633)
repos:
- repo: https://github.com/Lucas-C/pre-commit-hooks.git
rev: v1.3.1
hooks:
- id: remove-crlf
files: .∗
- id: forbid-tabs
files: \.(md|yml)$
- id: remove-tabs
files: \.(md|yml)$
- repo: https://github.com/PaddlePaddle/mirrors-yapf.git
rev: v0.16.2
hooks:
- id: yapf
files: (.*\.(py|bzl)|BUILD|.*\.BUILD|WORKSPACE)$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-merge-conflict
- id: check-symlinks
- id: detect-private-key
files: .∗
- id: end-of-file-fixer
files: \.(md|yml)$
- id: trailing-whitespace
files: \.(md|yml)$
- repo: local
hooks:
- id: pylint-doc-string
name: pylint
description: Check python docstring style using docstring_checker.
entry: bash .hooks/pylint_pre_commit.hook
language: system
files: \.(py)$
- repo: local
hooks:
- id: copyright_checker
name: copyright_checker
entry: python .hooks/copyright.hook
language: system
files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|proto|py)$
exclude: (?!.*third_party)^.*|(?!.∗book).∗
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hmoob_xiang_hui/PaddleSlim.git
git@gitee.com:hmoob_xiang_hui/PaddleSlim.git
hmoob_xiang_hui
PaddleSlim
PaddleSlim
develop

搜索帮助

0d507c66 1850385 C8b1a773 1850385