Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: change methods not using its bound instance to staticmethods #22

Merged
merged 1 commit into from
Jan 11, 2025

Conversation

deepsource-autofix[bot]
Copy link
Contributor

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.

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](https://docs.python.org/3/library/functions.html#staticmethod).
Copy link

railway-app bot commented Jan 11, 2025

This PR was not deployed automatically as @deepsource-autofix[bot] does not have access to the Railway project.

In order to get automatic PR deploys, please add @deepsource-autofix[bot] to the project inside the project settings page.

@cringe-neko-girl cringe-neko-girl merged commit 2792954 into main Jan 11, 2025
1 check was pending
Copy link

deepsource-io bot commented Jan 11, 2025

Here's the code health analysis summary for commits 607c090..638461b. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Python LogoPython❌ Failure
❗ 138 occurences introduced
🎯 340 occurences resolved
View Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant