File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 88SINGLEDISPATCH_REGISTER_METHOD : Final = f"{ SINGLEDISPATCH_TYPE } .register"
99SINGLEDISPATCH_CALLABLE_CALL_METHOD : Final = f"{ SINGLEDISPATCH_TYPE } .__call__"
1010SINGLEDISPATCH_REGISTER_RETURN_CLASS : Final = "_SingleDispatchRegisterCallable"
11- SINGLEDISPATCH_REGISTER_CALLABLE_CALL_METHOD : Final = f"functools.{ SINGLEDISPATCH_REGISTER_RETURN_CLASS } .__call__"
11+ SINGLEDISPATCH_REGISTER_CALLABLE_CALL_METHOD : Final = (
12+ f"functools.{ SINGLEDISPATCH_REGISTER_RETURN_CLASS } .__call__"
13+ )
1214
1315ENUM_NAME_ACCESS : Final = {f"{ prefix } .name" for prefix in ENUM_BASES } | {
1416 f"{ prefix } ._name_" for prefix in ENUM_BASES
Original file line number Diff line number Diff line change 1414from __future__ import annotations
1515
1616from collections .abc import Iterable , Sequence
17- from typing import Final , TypeVar , cast
17+ from typing import TypeVar , cast
1818
1919import mypy .plugin # To avoid circular imports.
2020from mypy .nodes import TypeInfo
You can’t perform that action at this time.
0 commit comments