DetachHead / basedpyright

pyright fork with various type checking improvements, improved vscode support and pylance features built into the language server
http://docs.basedpyright.com/
Other
601 stars 12 forks source link

Unsafe multiple inheritance should respect the mro algorithm #433

Closed KotlinIsland closed 1 week ago

KotlinIsland commented 1 week ago
class A:
    def __init__(self, a: int):
        super().__init__()
class B:
    pass
class C(B, A):
    pass

This reports an error, but as far as I can tell it's safe