[Pyright] Cannot instantiate abstract class
I use Pyright for static type checking and it raises 66 errors on master due to Cannot instantiate abstract class 'Trainer'.
I have been able to reproduce the issue:
import abc


class MixinA(abc.ABC):
    @abc.abstractmethod
    def a(self) -> None:
        print('MixinA.a')


class MixinB(abc.ABC):
    @abc.abstractmethod
    def b(self) -> None:
        print('MixinB.b')


class Trainer(MixinA, MixinB):
    pass


ab = Trainer()
Do you think this should be addressed or do you think it's an error from Pyright? In that case, I will open a ticket on the Pyright repo.