ci gometalinter, also add linter failing function to test
This commit is contained in:
parent
e149d27f1c
commit
566563f666
|
@ -32,6 +32,7 @@ jobs:
|
|||
command: |
|
||||
export PATH="$GOBIN:$PATH"
|
||||
go get -u github.com/tendermint/lint/golint
|
||||
go get -u github.com/alecthomas/gometalinter
|
||||
- run:
|
||||
name: binaries
|
||||
command: |
|
||||
|
@ -65,9 +66,7 @@ jobs:
|
|||
name: Lint source
|
||||
command: |
|
||||
export PATH="$GOBIN:$PATH"
|
||||
for pkg in $(go list github.com/cosmos/cosmos-sdk/... | grep -v /vendor/); do
|
||||
test -z "$(golint $pkg | tee /dev/stderr)"
|
||||
done
|
||||
gometalinter --disable-all --enable='golint' --vendor ./...
|
||||
|
||||
test_cover:
|
||||
<<: *defaults
|
||||
|
|
|
@ -48,6 +48,9 @@ func NewEndBlocker(k Keeper) sdk.EndBlocker {
|
|||
|
||||
//_____________________________________________________________________
|
||||
|
||||
func Bloop() {
|
||||
}
|
||||
|
||||
// InitGenesis - store genesis parameters
|
||||
func InitGenesis(ctx sdk.Context, k Keeper, data GenesisState) {
|
||||
k.setPool(ctx, data.Pool)
|
||||
|
|
Loading…
Reference in New Issue