Skip to content
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

Format sources w/ gofumpt #643

Merged
merged 1 commit into from Mar 2, 2022
Merged

Conversation

shmsr
Copy link
Contributor

@shmsr shmsr commented Feb 26, 2022

Format sources w/ gofumpt, i.e., no change to tests, testdata, etc., where formatting could've been a problem. Safe to merge.

Signed-off-by: subham sarkar <sarkar.subhams2@gmail.com>
@chavacava
Copy link
Collaborator

Hi @shmsr thanks for the PR.
I prefer to stick to official tooling as much as possible.
Moreover, switching to gofumpt in place of gofmt will require all revive contributors to also switch.

(To avoid PR that are finally not merged we ask to open an issue before making the PR)

@chavacava chavacava closed this Feb 27, 2022
@shmsr
Copy link
Contributor Author

shmsr commented Mar 2, 2022

But gofmt is a subset of gofumpt, so if everyone keeps using gofmt, it is not a problem because it'd be a no-op!

@shmsr
Copy link
Contributor Author

shmsr commented Mar 2, 2022

If you look at the changes, these are good changes (idiomatic Go kinda' changes).

@chavacava chavacava reopened this Mar 2, 2022
@chavacava chavacava merged commit 577441d into mgechev:master Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants