代码拉取完成,页面将自动刷新
同步操作将从 bopo/mootdx 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.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 ]
- 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: v3.9.0
hooks:
- id: reorder-python-imports
- repo: https://github.com/python-poetry/poetry
rev: '1.5.0'
hooks:
- id: poetry-export
args: [ "-f", "requirements.txt", "-o", "requirements.txt", "--without-hashes" ]
- repo: https://github.com/commitizen-tools/commitizen
rev: '3.2.2'
hooks:
- id: commitizen
name: commitizen check
entry: cz check
args: [ --allow-abort, --commit-msg-file ]
stages: [ commit-msg ]
language: python
language_version: python3
minimum_pre_commit_version: "1.4.3"
# - id: commitizen-branch
# name: commitizen check branch
# description: >
# Check all commit messages that are already on the current branch but not the
# default branch on the origin repository. Useful for checking messages after
# the fact (e.g., pre-push or in CI) without an expensive check of the entire
# repository history.
# entry: cz check
# args: [ --rev-range, origin/HEAD..HEAD ]
# always_run: true
# pass_filenames: false
# language: python
# language_version: python3
# minimum_pre_commit_version: "1.4.3"
exclude: |
(?x)^(
docs\/.*|
.*migrations\/.*|
sample\/.*|
notebooks\/.*|
\.ipynb_checkpoints|
setup\.cfg|
fabfile\.py|
.*?proto.*|
.*?\.yaml|
.*?\.yml|
.*?\.dat|
.*?\.txt|
.*?\.md
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。