-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[Help] Clean up static check failures #7800
Comments
/help |
@tanjunchen: Please ensure the request meets the requirements listed here. 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/test-infra repository. |
/priority important-longterm |
@tanjunchen: The label(s) 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/test-infra repository. |
I am interested in getting started helping out with kops. |
Thanks for volunteering! Most of the staticcheck issues have been addressed but you can certainly check the remaining issues in hack/.staticcheck_failures for the remaining ones, besides the PR listed above that is currently open. I'm adding an additional check in #8328 similar to staticcheck but for shell scripts: shellcheck. Feel free to check it out and start fixing some of the reported issues. |
Awesome. Thanks for the pointer @rifelpet! |
Hrm. There's only one entry in hack/.staticcheck_failures and it looks like #7839 fixes at least some of those. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
all the staticcheck failures have been fixed. good job everyone |
@rifelpet: Closing this issue. 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/test-infra repository. |
1. Describe IN DETAIL the feature/behavior/change you would like to see.
There are many packages that can't pass the static check and we need to clean them up even though hack/verify-staticcheck.sh exsits in the kops.
Step 1: Remove some packages(related packages) from the list in https://github.com/kubernetes/kops/blob/master/hack/.staticcheck_failures ,
Step 2: Run hack/verify-staticcheck.sh and look at outputs from console
Step 3: Fix them to ensure that hack/verify-staticcheck.sh runs cleanly
Step 4: Run hack/verify-bazel.sh and hack/verify-gofmt.sh to make sure that you fix any problems with bazel or gofmt.
Step 5: How to make prs?
Attention: if you have any questions
read this https://github.com/kubernetes/kops/blob/master/docs/development/vendoring.md
The text was updated successfully, but these errors were encountered: