-
Notifications
You must be signed in to change notification settings - Fork 650
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
ci: use thelper #3809
ci: use thelper #3809
Conversation
Hey @faddat, can you please give us a bit more of context?
Thanks! |
Sure I do very happy to tell you a bit more about this one, so the thelper linter really just reminds devs to use the call t.Helper() And when you do that, your IDE can give you some additional information for debugging. I would like to use it during the upgrade to SDK 50 because that useful information just makes the job easier. depguard .... I got to tell you I think it never worked. But you see them the thing is it started working and when it began to work it started doing some kind of bad stuff, like blocking every single cosmos import, so I pulled it out. Anyhow this should make every upgrade easier, not just SDK 50 |
Looking into this can't see why we already have |
Ah, yeah depguard totally needs to go imo :). I think that it never worked before, now suddenly does, and is... not the tool for the job we are trying to do. |
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.
LGTM thanks @faddat
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.
lgtm!
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3809 +/- ##
==========================================
+ Coverage 78.75% 78.76% +0.01%
==========================================
Files 187 187
Lines 12890 12935 +45
==========================================
+ Hits 10151 10188 +37
- Misses 2308 2317 +9
+ Partials 431 430 -1
|
This PR removes the depguard linter and enables thelper. It will make upgrading
to v50 easier.