Use go tool gofumpt for make format

This way it always uses our pinned 0.9.2 version.
This commit is contained in:
Stefan Haller
2026-07-02 10:41:23 +02:00
parent 659908195e
commit 2d4a4dcdc1
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ Windows box has only `just`).
list and the keybinding cheatsheets in `docs-master/keybindings/`). Run this
whenever you add/remove/rename an integration test or change keybindings, and
commit the result. CI fails if these are stale.
- `just format``gofumpt -l -w .`. Run before every commit.
- `just format``go tool gofumpt -l -w .`. Run before every commit.
- `just build` — build the binary.
- `just unit-test``go test ./... -short`.
- `just e2e` — run all integration tests headlessly; `just e2e <name>` runs a
+1 -1
View File
@@ -36,7 +36,7 @@ generate:
.PHONY: format
format:
gofumpt -l -w .
go tool gofumpt -l -w .
.PHONY: lint
lint:
+1 -1
View File
@@ -34,7 +34,7 @@ generate:
go generate ./...
format:
gofumpt -l -w .
go tool gofumpt -l -w .
lint:
./scripts/golangci-lint-shim.sh run