CoolFace
Apppublic

CCCasEEE/internlm_lagent

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
.pre-commit-config.yaml47 linesDownload Raw Back to root
1exclude: ^(tests/data|scripts|ftdp/protocols|ftdp/template_configs|ftdp/tool_dicts)/2repos:3  - repo: https://github.com/PyCQA/flake84    rev: 7.0.05    hooks:6      - id: flake87  - repo: https://github.com/PyCQA/isort8    rev: 5.13.29    hooks:10      - id: isort11  - repo: https://github.com/psf/black12    rev: 22.8.013    hooks:14      - id: black15        args: ["--line-length", "119", "--skip-string-normalization"]16  - 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