File tree Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change
1
+ exclude : ^tests/data/
2
+ repos :
3
+ - repo : https://gitee.com/openmmlab/mirrors-flake8
4
+ rev : 5.0.4
5
+ hooks :
6
+ - id : flake8
7
+ - repo : https://gitee.com/openmmlab/mirrors-isort
8
+ rev : 5.10.1
9
+ hooks :
10
+ - id : isort
11
+ - repo : https://gitee.com/openmmlab/mirrors-yapf
12
+ rev : v0.32.0
13
+ hooks :
14
+ - id : yapf
15
+ - repo : https://gitee.com/openmmlab/mirrors-pre-commit-hooks
16
+ rev : v4.3.0
17
+ hooks :
18
+ - id : trailing-whitespace
19
+ - id : check-yaml
20
+ - id : end-of-file-fixer
21
+ - id : requirements-txt-fixer
22
+ - id : double-quote-string-fixer
23
+ - id : check-merge-conflict
24
+ - id : fix-encoding-pragma
25
+ args : ["--remove"]
26
+ - id : mixed-line-ending
27
+ args : ["--fix=lf"]
28
+ - repo : https://gitee.com/openmmlab/mirrors-mdformat
29
+ rev : 0.7.9
30
+ hooks :
31
+ - id : mdformat
32
+ args : ["--number"]
33
+ additional_dependencies :
34
+ - mdformat-openmmlab
35
+ - mdformat_frontmatter
36
+ - linkify-it-py
37
+ - repo : https://gitee.com/openmmlab/mirrors-codespell
38
+ rev : v2.2.1
39
+ hooks :
40
+ - id : codespell
41
+ - repo : https://gitee.com/openmmlab/mirrors-docformatter
42
+ rev : v1.3.1
43
+ hooks :
44
+ - id : docformatter
45
+ args : ["--in-place", "--wrap-descriptions", "79"]
46
+ - repo : https://gitee.com/openmmlab/mirrors-pyupgrade
47
+ rev : v3.0.0
48
+ hooks :
49
+ - id : pyupgrade
50
+ args : ["--py36-plus"]
51
+ - repo : https://github.com/open-mmlab/pre-commit-hooks
52
+ rev : v0.2.0
53
+ hooks :
54
+ - id : check-algo-readme
55
+ - id : check-copyright
56
+ args : ["mmdet"]
57
+ # - repo: https://gitee.com/openmmlab/mirrors-mypy
58
+ # rev: v0.812
59
+ # hooks:
60
+ # - id: mypy
61
+ # exclude: "docs"
You can’t perform that action at this time.
0 commit comments