-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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 #23445
Conversation
Signed-off-by: ankitdobhal <dobhal.ankit@protonmail.com>
Signed-off-by: ankitdobhal <dobhal.ankit@protonmail.com>
Signed-off-by: ankitdobhal <dobhal.ankit@protonmail.com>
Signed-off-by: ankitdobhal <dobhal.ankit@protonmail.com>
Welcome @ankitdobhal! |
/cc @AilinKid |
mark |
/cc @AndreMouche |
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.
Rest LGTM
.deepsource.toml
Outdated
@@ -0,0 +1,11 @@ | |||
version = 1 |
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.
I think we should exclude this file, for now. As we did not integrate deepsource into CI yet, it is possibly better to integrate it into CI after solving all problems.
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.
@xhebox should I remove the .toml
file ?
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.
I personally prefer to remove. And I think PR will get merged easier if it is removed. This file may be controversial.
@andylokandy I've shared deepsource to devs. But there is no discussion yet. Maybe you could file an issue like #22979, but for deepsource.
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.
@xhebox removed .toml
file.
/cc @bb7133 |
Signed-off-by: ankitdobhal <dobhal.ankit@protonmail.com>
/cc @tangenta |
/lgtm |
/lgtm |
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by writing |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: bac217f
|
Description
Hey 👋 , I'm member of the Developer Outreach team 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 :)
What problem does this PR solve?
This PR improve some code quality issues like anti-pattern and bug risks.
What is changed and how it works?
Check List
Tests
Release note