Skip to content

🌱 KAL: Enable low effort linters#3161

Open
lentzi90 wants to merge 5 commits into
kubernetes-sigs:mainfrom
Nordix:lentzi90/kal-autofix
Open

🌱 KAL: Enable low effort linters#3161
lentzi90 wants to merge 5 commits into
kubernetes-sigs:mainfrom
Nordix:lentzi90/kal-autofix

Conversation

@lentzi90
Copy link
Copy Markdown
Contributor

@lentzi90 lentzi90 commented May 7, 2026

What this PR does / why we need it:

Enable kube-api-linters that doesn't require much effort. These are mostly non-controversial, non-breaking and the issues they report can to a large extent be automatically fixed.
I have split this up in separate commits to make it easier to review. Especially the automatic doc string fixes are large but trivial.

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 #3131

Special notes for your reviewer:

  1. Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

TODOs:

  • squashed commits
  • if necessary:
    • includes documentation
    • adds unit tests

/hold

lentzi90 added 5 commits May 7, 2026 08:05
Signed-off-by: Lennart Jern <lennart.jern@est.tech>
This fixes all automatically fixable issues detected by the commentstart
linter in v1beta2.

Signed-off-by: Lennart Jern <lennart.jern@est.tech>
Fix the rest of the commentstart issues manually.

Signed-off-by: Lennart Jern <lennart.jern@est.tech>
Enable the linter and fix the issues it reported.

Signed-off-by: Lennart Jern <lennart.jern@est.tech>
Ensure all status fields have only optional first children.

Signed-off-by: Lennart Jern <lennart.jern@est.tech>
@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 7, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented May 7, 2026

Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!

Name Link
🔨 Latest commit 7f10009
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-sigs-cluster-api-openstack/deploys/69fc4b64c0feb8000793b098
😎 Deploy Preview https://deploy-preview-3161--kubernetes-sigs-cluster-api-openstack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels May 7, 2026
@lentzi90
Copy link
Copy Markdown
Contributor Author

lentzi90 commented May 8, 2026

/retest

Copy link
Copy Markdown
Contributor

@nikParasyr nikParasyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

( if those are mostly automatically fixed, wonder if we can wait for #3155 as it will create quite some conflicts )

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 11, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: nikParasyr
Once this PR has been reviewed and has the lgtm label, please assign fabriziopandini for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@lentzi90
Copy link
Copy Markdown
Contributor Author

Yes, we definitely can! Leaving hold in place. I'll try to get some time for reviewing #3155

Copy link
Copy Markdown
Contributor

@smoshiur1237 smoshiur1237 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

4 participants