Skip to content

Commit

Permalink
Allow dot imports where idiomatic
Browse files Browse the repository at this point in the history
  • Loading branch information
scop authored and rubenv committed Jan 8, 2024
1 parent efb3a99 commit a7298de
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package migrate
import (
"testing"

//revive:disable-next-line:dot-imports
. "gopkg.in/check.v1"
)

Expand Down
1 change: 1 addition & 0 deletions migrate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (

"github.com/go-gorp/gorp/v3"
_ "github.com/mattn/go-sqlite3"
//revive:disable-next-line:dot-imports
. "gopkg.in/check.v1"
)

Expand Down
1 change: 1 addition & 0 deletions sort_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package migrate
import (
"sort"

//revive:disable-next-line:dot-imports
. "gopkg.in/check.v1"
)

Expand Down
1 change: 1 addition & 0 deletions sqlparse/sqlparse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"strings"
"testing"

//revive:disable-next-line:dot-imports
. "gopkg.in/check.v1"
)

Expand Down
1 change: 1 addition & 0 deletions toapply_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package migrate
import (
"sort"

//revive:disable-next-line:dot-imports
. "gopkg.in/check.v1"
)

Expand Down

0 comments on commit a7298de

Please sign in to comment.