Skip to content

Enable gofumpt extra rules#4994

Merged
AkihiroSuda merged 1 commit intoopencontainers:mainfrom
kolyshkin:gofumpt-extra
Nov 28, 2025
Merged

Enable gofumpt extra rules#4994
AkihiroSuda merged 1 commit intoopencontainers:mainfrom
kolyshkin:gofumpt-extra

Conversation

@kolyshkin
Copy link
Copy Markdown
Contributor

Commit b2f8a74 "clothed" the naked return as inflicted by gofumpt v0.9.0. Since gofumpt v0.9.2 this rule was moved to "extra" category, not enabled by default. The only other "extra" rule is to group adjacent parameters with the same type, which also makes sense.

Enable gofumpt "extra" rules, and reformat the code accordingly.

Commit b2f8a74 "clothed" the naked return as inflicted by gofumpt
v0.9.0. Since gofumpt v0.9.2 this rule was moved to "extra" category,
not enabled by default. The only other "extra" rule is to group adjacent
parameters with the same type, which also makes sense.

Enable gofumpt "extra" rules, and reformat the code accordingly.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin kolyshkin added the backport/1.4-todo A PR in main branch which needs to backported to release-1.4 label Nov 12, 2025
@kolyshkin
Copy link
Copy Markdown
Contributor Author

Added a TODO to backport to 1.4, mostly for the sake of easier backports.

@AkihiroSuda AkihiroSuda merged commit 64c3c8e into opencontainers:main Nov 28, 2025
36 checks passed
@kolyshkin kolyshkin added backport/1.4-done A PR in main branch which has been backported to release-1.4 and removed backport/1.4-todo A PR in main branch which needs to backported to release-1.4 labels Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/1.4-done A PR in main branch which has been backported to release-1.4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants