pylint-errors

R0903 (too-few-public-methods)

:x: Problematic code:

class Foo:
    def pub1(self):
        pass

:heavy_check_mark: Correct code:

class Foo:
    def pub1(self):
        pass

    def pub2(self):
        pass

Rationale:

Used when class has too few public methods, so be sure it’s really worth it.