diff --git a/Makefile b/Makefile index f051a8b5..8f3e8f53 100644 --- a/Makefile +++ b/Makefile @@ -103,8 +103,8 @@ format-tools: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.50.1 lint: format-tools - golangci-lint run --tests=false - find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "*_test.go" -not -path "*.pb.go" -not -path "*pb.gw.go" | xargs gofumpt -d + golangci-lint run + find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "*.pb.go" -not -path "*pb.gw.go" | xargs gofumpt -d format: format-tools find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "*.pb.go" -not -path "*pb.gw.go" | xargs gofumpt -w diff --git a/x/alliance/e2e/test_helper.go b/x/alliance/e2e/test_helper.go index e34670c4..7d6814cf 100644 --- a/x/alliance/e2e/test_helper.go +++ b/x/alliance/e2e/test_helper.go @@ -12,7 +12,6 @@ import ( test_helpers "github.com/terra-money/alliance/app" ) -//nolint:golint,unused func setupApp(t *testing.T, numValidators int, numDelegators int, initBalance sdk.Coins) (app *test_helpers.App, ctx sdk.Context, valAddrs []sdk.ValAddress, delAddrs []sdk.AccAddress) { app = test_helpers.Setup(t, false) ctx = app.BaseApp.NewContext(false, tmproto.Header{})