-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 Update golangci-lint to v1.63.4 #11740
🌱 Update golangci-lint to v1.63.4 #11740
Conversation
…xpecations If we don't do this, it converts the line to expect the count value equal to 1, which changes the semantics of the test
CC @sbueringer I've split out the v1.63.4 upgrade here and solved the new complaints from the upgrade, if we merge this I can rebase my other PR and focus just on the API linting |
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
LGTM label has been added. Git tree hash: 8f08cf7ca32b6642f4c15c8623c9f79b71e0114b
|
/area ci |
Thank you! /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer 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 |
What this PR does / why we need it:
This PR updates
golangci-lint
to the latest release and runsmake lint-fix
to fix up any issues that it found post update.Some of the issues it came up with were odd, eg suggesting
Instead of
Which are not semantically equivalent.
These cases I fixed in a different way.
Some of the fixes that were being applied also removed a whole load of comments, so I didn't commit those, and
make lint-fix
no longer suggests removing those. One of the linters suggested fixes does not appear to be deterministic, sigh.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #