pylint-errors

W0223 (abstract-method)

:x: Problematic code:

class Foo:
    def bar(self):
        raise NotImplementedError


class Baz(Foo):
    pass

:heavy_check_mark: Correct code:

class Foo:
    def bar(self):
        raise NotImplementedError


class Baz(Foo):
    def bar(self):
        pass

Rationale:

Used when an abstract method (i.e. raise NotImplementedError) is not overridden in concrete class.