We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a7a9e1b + 459acce commit bc45bf1Copy full SHA for bc45bf1
.pre-commit-config.yaml
@@ -36,6 +36,6 @@ repos:
36
hooks:
37
- id: flake8
38
- repo: https://github.com/pre-commit/mirrors-mypy
39
- rev: v1.10.1
+ rev: v1.11.0
40
41
- id: mypy
pyupgrade/_data.py
@@ -53,7 +53,8 @@ class State(NamedTuple):
53
'typing_extensions',
54
))
55
56
-FUNCS = collections.defaultdict(list)
+FUNCS: ASTCallbackMapping # python/mypy#17566
57
+FUNCS = collections.defaultdict(list) # type: ignore[assignment]
58
59
60
def register(tp: type[AST_T]) -> Callable[[ASTFunc[AST_T]], ASTFunc[AST_T]]:
0 commit comments