-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Enable usetesting in golangci.yml #12179
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
Comments
@sivchari: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Thx for opening the issue! /triage accepted |
We're going to temporarily disable it in #12128 so the Go 1.24 bump PR doesn't become to big |
/assign |
usetesting linter is automatically enabled when Go 1.24 is used.
This linter diagnose the calls that can be replaced by functions defined in testing package. e.g. os.Setenv -> testing.Setenv.
It is what we're going to do after #12128 will be merged since the diff is very large.
The issue aims to enable usetesting linter and the fix all diagnostics to pass all.
/help
The text was updated successfully, but these errors were encountered: