-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add staticcheck CI with refactor #722
Conversation
Codecov Report
@@ Coverage Diff @@
## main #722 +/- ##
=======================================
Coverage 63.56% 63.56%
=======================================
Files 78 78
Lines 5676 5676
=======================================
Hits 3608 3608
Misses 1896 1896
Partials 172 172
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
912eb58
to
3defe30
Compare
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.
Could you please sign your commits? It is part of the checks.
@svetlio8 This is strange. All of the commits are signed already. Should I just close this PR and reopen? |
@julian-bcw |
d2ec22b
3defe30
to
d2ec22b
Compare
Signed-off-by: Julian Braha <[email protected]>
Signed-off-by: Julian Braha <[email protected]>
Signed-off-by: Julian Braha <[email protected]>
Signed-off-by: Julian Braha <[email protected]>
Signed-off-by: Julian Braha <[email protected]>
Signed-off-by: Julian Braha <[email protected]>
Signed-off-by: Julian Braha <[email protected]>
Signed-off-by: Julian Braha <[email protected]>
Signed-off-by: Julian Braha <[email protected]>
…alance.Tokens.Get() Signed-off-by: Julian Braha <[email protected]>
Signed-off-by: Julian Braha <[email protected]>
Signed-off-by: Julian Braha <[email protected]>
Signed-off-by: Julian Braha <[email protected]>
d2ec22b
to
7c3c4f8
Compare
@failfmi Ah, thanks for the explanation! I've signed the commits, and force-pushed. |
Detailed description:
This PR does two things:
Specifically, this will check for things like deprecated packages, dead code, and inefficient/redundant function calls and expressions.
A complete list of the checks in this pipeline can be found here, though I have removed the style checks (ST*) as well as a few “code simplifications” (S1002, S1005, S1008, S1023, S1039) that are more like style preferences.
EDIT: I've also removed check U1000 (no unused variables), because it was causing the E2E tests to fail. I suspect that there was a false alarm. Perhaps a struct needs to be in a certain format to be converted to a JSON or something.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Checklist