Skip to content

Commit

Permalink
chore: removing goimports (#2548)
Browse files Browse the repository at this point in the history
  • Loading branch information
chatton authored Oct 14, 2022
1 parent 83dc21d commit a1decda
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 36 deletions.
20 changes: 0 additions & 20 deletions .github/scripts/go-imports.sh

This file was deleted.

9 changes: 0 additions & 9 deletions .github/workflows/goimports.yaml

This file was deleted.

8 changes: 1 addition & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -298,17 +298,11 @@ lint-fix:
golangci-lint run --fix --out-format=tab --issues-exit-code=0
.PHONY: lint lint-fix

format: goimports
format:
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/docs/statik/statik.go" -not -path "./tests/mocks/*" -not -name '*.pb.go' -not -name '*.pb.gw.go' | xargs gofumpt -w
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "./client/docs/statik/statik.go" -not -path "./tests/mocks/*" -not -name '*.pb.go' -not -name '*.pb.gw.go' | xargs misspell -w
.PHONY: format

goimports:
$(DOCKER) run -v $(CURDIR):/ibc-go --rm -w "/ibc-go" cytopia/goimports -w -local 'github.com/cosmos/ibc-go' "$(CHANGED_GO_FILES)" &> /dev/null || echo "No changed go files to format"

goimports-all:
$(DOCKER) run -v $(CURDIR):/ibc-go --rm -w "/ibc-go" cytopia/goimports -w -local 'github.com/cosmos/ibc-go' "$(ALL_GO_FILES)"

###############################################################################
### Protobuf ###
###############################################################################
Expand Down

0 comments on commit a1decda

Please sign in to comment.