Skip to content

Commit ccec643

Browse files
committed
Fix lint
1 parent 4796e63 commit ccec643

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/merge_stage_test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: merge_stage_test
2-
env:
2+
env:
33
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
44
on:
55
push:

.pre-commit-config-zh-cn.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,15 @@ repos:
5454
- id: check-copyright
5555
args: ["mmcv", "tests", "--excludes", "mmcv/ops"]
5656
- repo: https://gitee.com/openmmlab/mirrors-mypy
57-
rev: v0.812
57+
rev: v1.10.1
5858
hooks:
5959
- id: mypy
6060
exclude: |-
6161
(?x)(
6262
^test
6363
| ^docs
6464
)
65+
additional_dependencies: ['python3.10']
6566
# - repo: local
6667
# hooks:
6768
# - id: clang-format

.pre-commit-config.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,15 @@ repos:
5454
- id: check-copyright
5555
args: ["mmcv", "tests", "--excludes", "mmcv/ops"]
5656
- repo: https://github.com/pre-commit/mirrors-mypy
57-
rev: v0.812
57+
rev: v1.10.1
5858
hooks:
5959
- id: mypy
6060
exclude: |-
6161
(?x)(
6262
^test
6363
| ^docs
6464
)
65+
additional_dependencies: ['python3.10']
6566
# - repo: local
6667
# hooks:
6768
# - id: clang-format

0 commit comments

Comments
 (0)