-
Notifications
You must be signed in to change notification settings - Fork 292
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
🌱 Remove nolint for gosec #2406
🌱 Remove nolint for gosec #2406
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.
Thanks!
I think there's a couple of places where we still have //nolint: gosec
- could you add comments where they're missing explaining why we're using the tag?
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2406 +/- ##
==========================================
+ Coverage 60.74% 60.89% +0.14%
==========================================
Files 164 164
Lines 9475 9475
==========================================
+ Hits 5756 5770 +14
+ Misses 3302 3291 -11
+ Partials 417 414 -3
☔ View full report in Codecov by Sentry. |
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.
Thanks!
Let's add comments to other invocations of nolint:gosec
explaining why they're used.
d1ef3b7
to
73e3e5c
Compare
73e3e5c
to
66126e9
Compare
66126e9
to
c5c1dba
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.
One last nit.
c5c1dba
to
aa1c75e
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.
/lgtm
/approve
/hold
For other reviews.
Thanks!
LGTM label has been added. Git tree hash: 836457a07f91f3c01b77bbf9c7b2eb1a36411b95
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: killianmuldoon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm /hold cancel |
What this PR does / why we need it:
Remove
//nolint:gosec
linter usage and provided comments for the usages where it's kept as is. Mainly, usage in tests are kept as is.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Part of #2384