1 Star 0 Fork 167

zzsj / mootdx

forked from bopo / mootdx 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.pre-commit-config.yaml 1.64 KB
一键复制 编辑 原始数据 按行查看 历史
bopo 提交于 2020-09-23 08:19 . chg: update tests.
repos:
#- repo: local
# hooks:
# - id: dos2unix
# name: dos2unix
# entry: dos2unix
# language: system
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
exclude: >
(?x)^(
.bumpversion.cfg
)$
- id: debug-statements
- id: mixed-line-ending
- id: check-xml
- id: check-yaml
exclude: >
(?x)^(
config/alarm/config.yaml|
config/alarm/debug.yaml|
config/config.yaml
)$
- id: check-ast
name: Check python ast
description: Simply check whether the files parse as valid python.
entry: check-ast
language: python
types: [python]
exclude: >
(?x)^(
setup.py
)$
- id: check-merge-conflict
- id: check-case-conflict
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v1.5.0
hooks:
- id: pretty-format-java
args: [--autofix]
- id: pretty-format-kotlin
args: [--autofix]
- id: pretty-format-yaml
args: [--autofix, --indent, '2']
exclude: >
(?x)^(
config/alarm/config.yaml|
config/alarm/debug.yaml|
config/config.yaml
)$
- repo: https://github.com/radix-ai/auto-smart-commit
rev: v1.0.2
hooks:
- id: auto-smart-commit
- repo: https://github.com/pre-commit/mirrors-yapf
rev: v0.30.0
hooks:
- id: yapf
- repo: https://gitee.com/ibopo/pre-commit-hooks
rev: v2.1.0
hooks:
- id: forbid-crlf
- id: remove-crlf
- id: forbid-tabs
- id: remove-tabs
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.7.1.1
hooks:
- id: shellcheck
Python
1
https://gitee.com/zzsj_run/mootdx.git
git@gitee.com:zzsj_run/mootdx.git
zzsj_run
mootdx
mootdx
master

搜索帮助