-
Notifications
You must be signed in to change notification settings - Fork 603
Enforce comments on the codebase #2428
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
@sedefsavas: 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. |
Hello 👋 So it seems like kubernetes-sigs's Should certain files, packages, or code also be excluded, e.g. |
Hello @Algebra8! Yes, wherever we don't need to add comments, we should exclude, e.g.,: *test, *fake, *mock, hack/. After enabling this in golangci.yml, missing comments should be added as well, so expecting this to be a big PR. |
Ah ok, thanks for the heads up! I will work on my fork and make a PR when I think it's ready. Just a heads up though, I am currently interviewing so I won't be able to put 100% of my time and get it done ASAP. Is that alright? |
Yes, we are 1 month away from the release. You can do a draft PR or WIP PR if you want feedback too. /assign Algebra8 |
Great, thanks @sedefsavas ! |
/assign |
@mohsen-abbasi-shia Hi! |
This is also relevant. |
@sedefsavas Thanks for the resource! I'll make sure to include PS I think I'll be submitting a draft soon because there are a few things I would appreciate feedback/clarity on. Will be submitting the draft soon. |
Also, just a quick update: It seems like kubernetes-sigs/cluster-api@0fb33bc swapped using |
Hope you're doing well. I have a few questions that I would appreciate feedback on here. I would appreciate if you could provide some feedback or point me in the direction of the whom I should be getting feedback from. Thanks! |
Enable linters for enforcing adding a comment to exported methods.
Relevant cluster-api PRs:
kubernetes-sigs/cluster-api#4631
kubernetes-sigs/cluster-api#4669
/milestone Next
/priority backlog
/good-first-issue
/help
The text was updated successfully, but these errors were encountered: