-
-
Notifications
You must be signed in to change notification settings - Fork 932
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
Fix some (critical) issues discovered by deepsource #919
Comments
Hey @Byron, I will take this. :) Q1 - Why There are many issues which are okey without a fix, How one should make a call about that? |
@imkaka Thanks a lot for your help. When it's about making decisions, it is entirely up to you to make the final call. It should be possible to silence deepsource using an annotation, or to disable entire classes of errors/warnings. Regarding Q1, also I don't know why the version is made explicit there. Maybe this is how they avoid drastic changes in behaviour? A quick check revealed that there is version 3.0 already, maybe consider upgrading before you begin. Generally, you can feel free to make fixes the way you find appropriate :). Good luck! |
Do we only support Python 3 Now? then we should change the |
That's correct. Python 2 support was dropped not too long ago. |
We have more issues after changing the version, I will try to fix this incrementally :) |
In every file there are various Unused Imports as well as Wild Card Imports, Can anyone suggest do we use transitional imports? Example:
from gitdb import X, Y
from a import X What to do with Unused Imports? |
Thanks for the concise explanation, @imaka. I understand that currently Thus I would consider the status quo as part of the public interface GitPython provides to not risk any breakage. Is it possible to disable this lint globally? |
This might help: https://deepsource.io/docs/configuration/skip-cq.html Or you may do it via the UI as well - https://deepsource.io/blog/releases-issue-actions/ |
working on it. 💯 |
Thanks for the input @Byron. Will keep you posted. |
https://deepsource.io/gh/gitpython-developers/GitPython
The text was updated successfully, but these errors were encountered: