mypy · mypy/override
override
Incompatible Method Override
A method in a subclass has a signature that is incompatible with the method it overrides in the base class. The overriding method must accept a superset of the base method's arguments and return a subtype of its return type.