The following is not an error currently:
class C:
a = None # type: int
class D(C):
a = None # type: int # No error
(Even though repeating the definition in C does cause an error.)
Worse, there's not even a check that the types match:
class C:
a = None # type: int
class D(C):
a = None # type: str # Still no error
The following is not an error currently:
(Even though repeating the definition in C does cause an error.)
Worse, there's not even a check that the types match: