Closed 6543 closed 1 year ago
The README says:
Note that vendor directories are skipped unless given as explicit arguments. Similarly, the added rules do not apply to generated Go files unless they are given as explicit arguments.
You were using find
to feed filenames explicitly to the tool, so these "skip" rules weren't kicking in. The change you applied is correct; you should generally be running gofumpt on the top-level directory to format everything.
as #71 implemented by #150 ... it should ignore generated code.
but it does not at woodpecker codebase.
to reproduce:
56e66393
make format
to use gofumptgit diff
should not show changed files but it does :(