Skip to content

Commit

Permalink
Linted
Browse files Browse the repository at this point in the history
  • Loading branch information
durkmurder committed Oct 4, 2023
1 parent 8f91562 commit 092927a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion model/bootstrap/node_info_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ package bootstrap_test

import (
"encoding/json"
"github.com/onflow/flow-go/model/flow"
"strings"
"testing"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/onflow/flow-go/model/bootstrap"
"github.com/onflow/flow-go/model/flow"
"github.com/onflow/flow-go/model/flow/order"
"github.com/onflow/flow-go/utils/unittest"
)
Expand Down
3 changes: 2 additions & 1 deletion model/flow/identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ import (

"github.com/ethereum/go-ethereum/rlp"
"github.com/fxamacker/cbor/v2"
"github.com/onflow/flow-go/crypto"
"github.com/pkg/errors"
"github.com/vmihailenco/msgpack"

"github.com/onflow/flow-go/crypto"
)

// DefaultInitialWeight is the default initial weight for a node identity.
Expand Down
2 changes: 1 addition & 1 deletion model/flow/order/identity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
package order_test

import (
"github.com/onflow/flow-go/model/flow"
"testing"

"github.com/stretchr/testify/require"

"github.com/onflow/flow-go/model/flow"
"github.com/onflow/flow-go/model/flow/order"
"github.com/onflow/flow-go/utils/unittest"
)
Expand Down
2 changes: 1 addition & 1 deletion state/protocol/protocol_state/updater_test.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package protocol_state

import (
"github.com/onflow/flow-go/model/flow/order"
"testing"

"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"

"github.com/onflow/flow-go/model/flow"
"github.com/onflow/flow-go/model/flow/mapfunc"
"github.com/onflow/flow-go/model/flow/order"
"github.com/onflow/flow-go/utils/unittest"
)

Expand Down
2 changes: 1 addition & 1 deletion storage/badger/protocol_state_test.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package badger

import (
"github.com/onflow/flow-go/model/flow/mapfunc"
"testing"

"github.com/dgraph-io/badger/v2"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/onflow/flow-go/model/flow"
"github.com/onflow/flow-go/model/flow/mapfunc"
"github.com/onflow/flow-go/module/metrics"
"github.com/onflow/flow-go/storage/badger/transaction"
"github.com/onflow/flow-go/utils/unittest"
Expand Down
1 change: 1 addition & 0 deletions utils/unittest/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package unittest

import (
"fmt"

"github.com/onflow/flow-go/model/flow"
"github.com/onflow/flow-go/model/flow/factory"
"github.com/onflow/flow-go/model/flow/filter"
Expand Down

0 comments on commit 092927a

Please sign in to comment.