Skip to content

review: lint frag's dyncomm branch #719

review: lint frag's dyncomm branch

review: lint frag's dyncomm branch #719

Triggered via pull request September 24, 2023 20:33
Status Failure
Total duration 52s
Artifacts

lint.yml

on: pull_request
golangci-lint
41s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
golangci-lint: x/dyncomm/types/params.go#L80
commentFormatting: put a space between `//` and comment text (gocritic)
golangci-lint: x/dyncomm/genesis.go#L28
badCall: no-op append call, probably missing arguments (gocritic)
golangci-lint: x/dyncomm/types/keys.go#L12
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/dyncomm/types/params.go#L132
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/dyncomm/keeper/dyncomm.go#L11
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/dyncomm/keeper/dyncomm.go#L18
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/dyncomm/keeper/dyncomm.go#L24
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/dyncomm/keeper/dyncomm.go#L45
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/dyncomm/keeper/dyncomm.go#L90
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/dyncomm/keeper/dyncomm.go#L116
File is not `gofumpt`-ed (gofumpt)
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/core/core. Supported file pattern: go.sum
golangci-lint: x/dyncomm/keeper/dyncomm.go#L121
var-declaration: should drop = nil from declaration of var lastErr; it is the zero value (revive)