pylint-errors

R0203 (no-staticmethod-decorator)

:x: Problematic code:

class Foo:
    def bar(self):
        pass

    bar = staticmethod(bar)

:heavy_check_mark: Correct code:

class Foo:
    @staticmethod
    def bar(self):
        pass

Rationale:

Used when a static method is defined without using the decorator syntax.