.pre-commit-config.yaml 347 字节
Newer Older
Anthony Sottile's avatar
Anthony Sottile 已提交
1
repos:
2
3
4
5
6
7
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v2.3.0
    hooks:
    -   id: end-of-file-fixer
    -   id: trailing-whitespace
        exclude: ^tests/fixtures/diffs/
Anthony Sottile's avatar
Anthony Sottile 已提交
8
-   repo: https://github.com/pre-commit/mirrors-mypy
9
    rev: v0.720
Anthony Sottile's avatar
Anthony Sottile 已提交
10
11
12
    hooks:
    -   id: mypy
        exclude: ^(docs/|example-plugin/|tests/fixtures)