8 Star 24 Fork 7

Gitee 极速下载 / ElasticDL

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/sql-machine-learning/elasticdl
克隆/下载
.pre-commit-config.yaml 1.93 KB
一键复制 编辑 原始数据 按行查看 历史
---
repos:
- repo: https://github.com/asottile/seed-isort-config
rev: v1.9.1
hooks:
- id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.20
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 19.10b0
hooks:
- id: black
args: [--line-length=79]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
hooks:
- id: flake8
- repo: git://github.com/skorokithakis/pre-commit-mypy
rev: v0.701
hooks:
- id: mypy
args: [--ignore-missing-imports, --follow-imports=skip]
- repo: local
hooks:
- id: clang-format
name: clang-format
description: Format files with ClangFormat.
entry: bash ./scripts/codestyle/clang_format.hook -i
language: system
files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|proto)$
- repo: local
hooks:
- id: cpplint-cpp-source
name: cpplint
description: Check C++ code style using cpplint.py.
entry: bash ./scripts/codestyle/cpplint_precommit.hook
language: system
files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx)$
- repo: git://github.com/dnephin/pre-commit-golang
rev: v0.3.3
hooks:
- id: go-fmt
- id: go-lint
- id: validate-toml
- id: no-go-testing
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.8
hooks:
- id: shellcheck
- repo: local
hooks:
- id: copyright_checker
name: copyright_checker
entry: python ./scripts/codestyle/copyright.py
language: system
files: \.(go|py|sh)$
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.23.0
hooks:
- id: yamllint
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.23.1
hooks:
- id: markdownlint
name: markdownlint
description: "Checks the style of Markdown files."
entry: markdownlint
language: node
Python
1
https://gitee.com/mirrors/ElasticDL.git
git@gitee.com:mirrors/ElasticDL.git
mirrors
ElasticDL
ElasticDL
develop

搜索帮助