style: add gci linter (#16605)

This commit is contained in:
Jacob Gadikian
2023-06-22 15:35:51 +00:00
committed by GitHub
parent 5de6710803
commit 6afece635c
617 changed files with 1243 additions and 1104 deletions
+2 -1
View File
@@ -8,7 +8,6 @@ import (
"path/filepath"
"syscall"
"cosmossdk.io/log"
cmtcfg "github.com/cometbft/cometbft/config"
cmted25519 "github.com/cometbft/cometbft/crypto/ed25519"
"github.com/cometbft/cometbft/node"
@@ -17,6 +16,8 @@ import (
"github.com/cometbft/cometbft/proxy"
cmttypes "github.com/cometbft/cometbft/types"
"cosmossdk.io/log"
"github.com/cosmos/cosmos-sdk/server"
servercmtlog "github.com/cosmos/cosmos-sdk/server/log"
servertypes "github.com/cosmos/cosmos-sdk/server/types"
+2 -2
View File
@@ -7,9 +7,10 @@ import (
"strconv"
"time"
"cosmossdk.io/math"
cmttypes "github.com/cometbft/cometbft/types"
"cosmossdk.io/math"
"github.com/cosmos/cosmos-sdk/codec"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
@@ -17,7 +18,6 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/tx/signing"
authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing"
authtx "github.com/cosmos/cosmos-sdk/x/auth/tx"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
+2 -1
View File
@@ -7,11 +7,12 @@ import (
"time"
cmted25519 "github.com/cometbft/cometbft/crypto/ed25519"
"github.com/stretchr/testify/require"
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
"github.com/cosmos/cosmos-sdk/testutil/testnet"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/bech32"
"github.com/stretchr/testify/require"
)
func TestGenesisBuilder_GenesisTime(t *testing.T) {
+2 -1
View File
@@ -4,8 +4,9 @@ import (
"testing"
"github.com/cometbft/cometbft/node"
"github.com/cosmos/cosmos-sdk/testutil/testnet"
"github.com/stretchr/testify/require"
"github.com/cosmos/cosmos-sdk/testutil/testnet"
)
// Nil entries in a Nodes slice don't fail Stop or Wait.
+3 -1
View File
@@ -3,9 +3,11 @@ package testnet
import (
"fmt"
sdkmath "cosmossdk.io/math"
cmted25519 "github.com/cometbft/cometbft/crypto/ed25519"
cmttypes "github.com/cometbft/cometbft/types"
sdkmath "cosmossdk.io/math"
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec"
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"