Skip to content

Commit bc45bf1

Browse files
authored
Merge pull request #955 from asottile/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents a7a9e1b + 459acce commit bc45bf1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ repos:
3636
hooks:
3737
- id: flake8
3838
- repo: https://github.com/pre-commit/mirrors-mypy
39-
rev: v1.10.1
39+
rev: v1.11.0
4040
hooks:
4141
- id: mypy

pyupgrade/_data.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ class State(NamedTuple):
5353
'typing_extensions',
5454
))
5555

56-
FUNCS = collections.defaultdict(list)
56+
FUNCS: ASTCallbackMapping # python/mypy#17566
57+
FUNCS = collections.defaultdict(list) # type: ignore[assignment]
5758

5859

5960
def register(tp: type[AST_T]) -> Callable[[ASTFunc[AST_T]], ASTFunc[AST_T]]:

0 commit comments

Comments
 (0)