Diego/proto 2855 add outlier detection #1172
golangci-lint.yml
on: pull_request
lint
2m 58s
custom-linters
1m 55s
Annotations
6 errors and 2 warnings
lint:
x/emissions/keeper/keeper.go#L1065
var-naming: don't use underscores in Go names; var last_median should be lastMedian (revive)
|
lint:
x/emissions/keeper/keeper.go#L1088
var-naming: don't use underscores in Go names; var outlier_threshold_multiplier should be outlierThresholdMultiplier (revive)
|
lint:
x/emissions/keeper/keeper.go#L1100
var-naming: don't use underscores in Go names; var threshold_mad should be thresholdMad (revive)
|
lint:
x/emissions/types/genesis.go#L10
types.GenesisState is missing fields LastMedianInferences, LastMadInferences (exhaustruct)
|
lint:
x/emissions/keeper/keeper_test.go#L5132
len: use s.Require().Len (testifylint)
|
lint
issues found
|
custom-linters
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|