CONTRIBUTING: add gofumpt formatter note

Document the formatter we use.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2025-11-11 12:20:11 +01:00
parent 5c1ed12d8d
commit cd0293a277

View File

@@ -146,7 +146,8 @@ It is not necessary to test a single change in multiple places.
### Go Format and lint ### Go Format and lint
All code changes must pass ``make validatepr``. All code changes must pass `make validatepr`.
We are using the [`gofumpt`](https://github.com/mvdan/gofumpt) formatter for our go code, you can either use it directly or format via `golangci-lint fmt`. The `validatepr`/`validate` make targets will fail if the code is not formatted correctly.
### Integration Tests ### Integration Tests