报告在表达式已经具有指定目标类型时不必要调用 typing.cast。

示例:


from typing import cast

a: int
b = cast(int, a)  # 不必要的,a 已经是 int