1 Star 0 Fork 169

dc1y / mootdx

forked from bopo / mootdx 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.pre-commit-config.yaml 1.33 KB
一键复制 编辑 原始数据 按行查看 历史
bopo 提交于 2022-01-26 16:24 . update .pre-commit-config.yaml
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: trailing-whitespace # Trim trailing whitespace
- id: check-merge-conflict # Check for files that contain merge conflict strings
- id: check-case-conflict
- id: double-quote-string-fixer # Replace double quoted strings with single quoted strings
- id: end-of-file-fixer # Make sure files end in a newline and only a newline
- id: requirements-txt-fixer # Sort entries in requirements.txt and remove incorrect entry for pkg-resources==0.0.0
- id: fix-encoding-pragma # Remove the coding pragma: # -*- coding: utf-8 -*-
args: [ "--remove" ]
- id: mixed-line-ending # Replace or check mixed line ending
args: [ "--fix=lf" ]
- 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
)$
- repo: https://gitee.com/ibopo/pre-commit-hooks
rev: v1.1.9
hooks:
- id: forbid-crlf
- id: remove-crlf
- id: forbid-tabs
- id: remove-tabs
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.6.0
hooks:
- id: reorder-python-imports
Python
1
https://gitee.com/dc1y/mootdx.git
git@gitee.com:dc1y/mootdx.git
dc1y
mootdx
mootdx
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891