nearbeach / NearBeach

NearBeach is an open sourced project management tool, helping you keep track of your project. You can track requirements, projects and tasks

Home Page:https://nearbeach.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(PYL-R0201) Consider decorating method with `@staticmethod`

robotichead opened this issue · comments

Description

The method doesn't use its bound instance. Decorate this method with @staticmethod decorator, so that Python does not have to instantiate a bound method for every instance of this class thereby saving memory and computation. Read more about staticmethods here.

Occurrences

There are 2 occurrences of this issue in the repository.

See all occurrences on DeepSource → app.deepsource.com/gh/robotichead/NearBeach/issue/PYL-R0201/occurrences/

hey @robotichead please assign me. i would like to work on it