Fix travis and Other Linter Errors (#1356)

* fix travis and other linter errors

* remove megacheck
This commit is contained in:
Nishant Das 2019-01-21 13:35:34 +08:00 committed by GitHub
parent 247e8a5f8c
commit 7ff544fddf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 11 deletions

View File

@ -12,7 +12,6 @@
"golint",
"gosec",
"gotype",
"megacheck",
"misspell",
"structcheck",
"unparam",

View File

@ -7,12 +7,11 @@ import (
"testing"
"time"
"github.com/prysmaticlabs/prysm/beacon-chain/core/validators"
"github.com/prysmaticlabs/prysm/beacon-chain/db"
"github.com/gogo/protobuf/proto"
b "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks"
"github.com/prysmaticlabs/prysm/beacon-chain/core/state"
"github.com/prysmaticlabs/prysm/beacon-chain/core/validators"
"github.com/prysmaticlabs/prysm/beacon-chain/db"
"github.com/prysmaticlabs/prysm/beacon-chain/internal"
pb "github.com/prysmaticlabs/prysm/proto/beacon/p2p/v1"
bytesutil "github.com/prysmaticlabs/prysm/shared/bytes"

View File

@ -5,13 +5,12 @@ import (
"strconv"
"time"
"github.com/prysmaticlabs/prysm/shared/trie"
"github.com/gogo/protobuf/proto"
b "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks"
pb "github.com/prysmaticlabs/prysm/proto/beacon/p2p/v1"
"github.com/prysmaticlabs/prysm/shared/hashutil"
"github.com/prysmaticlabs/prysm/shared/params"
"github.com/prysmaticlabs/prysm/shared/trie"
)
// Generates a simulated beacon block to use

View File

@ -9,8 +9,6 @@ import (
"reflect"
"time"
"github.com/prysmaticlabs/prysm/shared/trie"
"github.com/ethereum/go-ethereum/common"
"github.com/gogo/protobuf/proto"
"github.com/prysmaticlabs/prysm/beacon-chain/blockchain"
@ -22,6 +20,7 @@ import (
"github.com/prysmaticlabs/prysm/shared/hashutil"
"github.com/prysmaticlabs/prysm/shared/params"
"github.com/prysmaticlabs/prysm/shared/slices"
"github.com/prysmaticlabs/prysm/shared/trie"
log "github.com/sirupsen/logrus"
)

View File

@ -16,9 +16,8 @@ import (
"fmt"
"time"
"github.com/prysmaticlabs/prysm/beacon-chain/core/state"
"github.com/gogo/protobuf/proto"
"github.com/prysmaticlabs/prysm/beacon-chain/core/state"
"github.com/prysmaticlabs/prysm/beacon-chain/db"
pb "github.com/prysmaticlabs/prysm/proto/beacon/p2p/v1"
bytesutil "github.com/prysmaticlabs/prysm/shared/bytes"