pylint-errors

E0241 (duplicate-bases)

:x: Problematic code:

class A:
    pass


class B(A, A):
    pass

:heavy_check_mark: Correct code:

class A:
    pass


class B(A):
    pass


class C(A):
    pass

Rationale:

Used when a class has duplicate bases.