Skip to content

Commit

Permalink
Make sure make fmt doesn't mess up my imports in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Martin committed Mar 18, 2019
1 parent ee81be7 commit 053edf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fields_legacy:
# Format code and files in the repo.
.PHONY: fmt
fmt: ve
$(FIND) -name '*.py' -exec build/ve/bin/autopep8 --in-place --max-line-length 120 {} \;
$(FIND) -name '*.py' -exec build/ve/bin/autopep8 --ignore E402 --in-place --max-line-length 120 {} \;
go get golang.org/x/tools/cmd/goimports
goimports -w -l -local github.com/elastic $(shell $(FIND) -name '*.go')

Expand Down

0 comments on commit 053edf3

Please sign in to comment.