basedmypy
basedmypy copied to clipboard
`ClassVar[Callable]` should not be assumed to be a `FunctionType`
from typing import *
class A:
a: ClassVar[Callable[[int], None]]
A().a(1) # too many arguments
This is absolute nonsense