-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
chore: refactor code quality issues #2450
chore: refactor code quality issues #2450
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, thanks for the PR. Always appreciated.
Regarding DeepSource: We currently use Codacy for code quality analysis and IIRC we could even find more issues with that, if we'd tighten the settings. Why should we choose to switch to DeepSource rather than sticking with Codacy or switching to other services like e.g. DeepCode.ai? And I mean apart from you getting paid by them? 😜
PS: Tests fail b/c I revoked some bot tokens yesterday that are used in the tests, will update them soonish
DeepCode failed to analyze this pull requestSomething went wrong despite trying multiple times, sorry about that. |
I just merged #2451 to master, which fixes the failing tests, so please merge from master. |
…n-telegram-bot into chore-refactor-issues
…legram-bot into chore-refactor-issues
@Bibo-Joshi There are various added benefits that DeepSource offers:
These are of course some of the benefits, and just for you to assess if the tool is right for the project :) |
Thanks for the info! We'll have to discuss it in the dev team, but I'd like to merge your PR first. Would you mind removing the deepsource config file? |
No problem, I've removed the config file @Bibo-Joshi. |
Thanks for the contribution @akshgpt7 ! We'll discuss switching in the dev team - your example config file is already a great starting point :) |
Description
Hey 👋, I'm a Developer Outreach at DeepSource and ran DeepSource analysis on my fork of the repo. It found some interesting code quality improvements to consider.
This PR fixes a few of the issues detected for you to assess if it is right for you.
Happy to provide the tweaks separately otherwise :)
Summary of changes
None
default..deepsource.toml
file for continuous analysis on bug risks/performance/code-quality issues on new changes.