pylint-errors

E0239 (inherit-non-class)

:x: Problematic code:

class Foo(bool):
    pass

:heavy_check_mark: Correct code:

class Foo:
    def __bool__(self):
        pass

Rationale:

Used when a class inherits from something which is not a class.