16 Star 100 Fork 24

PaddlePaddle / VisualDL

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.pre-commit-config.yaml 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
chenjian 提交于 2022-06-21 15:04 . Add dygraph component (#1077)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-json
- id: check-toml
- id: check-yaml
- id: check-symlinks
- id: destroyed-symlinks
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
alias: be
exclude: ^frontend/
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.7.1.1
hooks:
- id: shellcheck
- repo: local
hooks:
- id: fe
name: lint-staged
entry: ./frontend/scripts/lint-staged.sh
language: node
files: ^frontend/
description: lint frontend code by lint-staged
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.4.0
hooks:
- id: reorder-python-imports
- repo: local
hooks:
- id: yapf
name: yapf
entry: yapf
language: system
args: [-i, --style .style.yapf]
files: \.py$
1
https://gitee.com/paddlepaddle/VisualDL.git
git@gitee.com:paddlepaddle/VisualDL.git
paddlepaddle
VisualDL
VisualDL
develop

搜索帮助