refactor: change methods not using its bound instance to staticmethods #20
Reference in New Issue
Block a user
Delete Branch "deepsource-autofix-29fa619a"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The method doesn't use its bound instance. Decorate this method with
@staticmethoddecorator, 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.Here's the code health analysis summary for commits
4770c21..73f677d. View details on DeepSource ↗.Analysis Summary