Skip to content
This repository has been archived by the owner on Mar 29, 2023. It is now read-only.

Commit

Permalink
[IAC-1677] Replace gofmt with goimports (#125)
Browse files Browse the repository at this point in the history
* replace gofmt with goimports

* run pre-commit

Co-authored-by: Marina Limeira <[email protected]>
  • Loading branch information
ina-stoyanova and Marina Limeira authored Jul 15, 2021
1 parent c8c8392 commit 4442011
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
- run:
command: |
pip install pre-commit==1.21.0 cfgv==2.0.1 zipp==1.1.0 yapf
go get golang.org/x/tools/cmd/goimports
export GOPATH=~/go/bin && export PATH=$PATH:$GOPATH
pre-commit install
pre-commit run --all-files
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ repos:
rev: v0.1.10
hooks:
- id: terraform-fmt
- id: gofmt
- id: goimports

3 changes: 2 additions & 1 deletion test/terratest_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ package test

import (
"fmt"
"github.com/gruntwork-io/terratest/modules/terraform"
"strings"

"github.com/gruntwork-io/terratest/modules/terraform"
)

func createTestGKEBasicHelmTerraformOptions(
Expand Down

0 comments on commit 4442011

Please sign in to comment.