internlm/MindSearch
54
1exclude: ^(tests/data|scripts|frontend/React)/2repos:3 - repo: https://github.com/PyCQA/flake84 rev: 7.0.05 hooks:6 - id: flake87 args: ["--max-line-length=120"]8 - repo: https://github.com/PyCQA/isort9 rev: 5.13.210 hooks:11 - id: isort12 - repo: https://github.com/pre-commit/mirrors-yapf13 rev: v0.32.014 hooks:15 - id: yapf16 - repo: https://github.com/pre-commit/pre-commit-hooks17 rev: v4.5.018 hooks:19 - id: trailing-whitespace20 - id: check-yaml21 - id: end-of-file-fixer22 - id: requirements-txt-fixer23 - id: double-quote-string-fixer24 - id: check-merge-conflict25 - id: fix-encoding-pragma26 args: ["--remove"]27 - id: mixed-line-ending28 args: ["--fix=lf"]29 - repo: https://github.com/executablebooks/mdformat30 rev: 0.7.1731 hooks:32 - id: mdformat33 args: ["--number"]34 additional_dependencies:35 - mdformat-openmmlab36 - mdformat_frontmatter37 - linkify-it-py38 - repo: https://github.com/codespell-project/codespell39 rev: v2.2.640 hooks:41 - id: codespell42 - repo: https://github.com/asottile/pyupgrade43 rev: v3.15.044 hooks:45 - id: pyupgrade46 args: ["--py36-plus"]47 