Closed epogrebnyak closed 10 months ago
mypy fine.py shows error
mypy fine.py
fine.py:70: note: Superclass: fine.py:70: note: def t_account(self) -> type[RegularAccount] | type[ContraAccount] | type[ExtraAccount] fine.py:70: note: Subclass: fine.py:70: note: type[RegularAccount] fine.py:91: error: Signature of "t_account" incompatible with supertype "Holder" [override] fine.py:91: note: Superclass: fine.py:91: note: def t_account(self) -> type[RegularAccount] | type[ContraAccount] | type[ExtraAccount] fine.py:91: note: Subclass: fine.py:91: note: type[ContraAccount] fine.py:240: error: Signature of "t_account" incompatible with supertype "Holder" [override] fine.py:240: note: Superclass: fine.py:240: note: def t_account(self) -> type[RegularAccount] | type[ContraAccount] | type[ExtraAccount] fine.py:240: note: Subclass: fine.py:240: note: type[ExtraAccount]
mypy fine.py
shows error