Skip to content

Update linters

Update linters #419

Triggered via pull request December 22, 2023 21:16
Status Success
Total duration 1m 0s
Artifacts

ci.yaml

on: pull_request
Documentation
40s
Documentation
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Tests (1.21): datasource/stackdriver/options_test.go#L29
G101: Potential hardcoded credentials: Google (GCP) Service-account (gosec)
Tests (1.21): dashboards.go#L210
fmt.Sprintf can be replaced with faster strconv.FormatUint (perfsprint)
Tests (1.21): dashboards.go#L217
fmt.Sprintf can be replaced with faster strconv.FormatUint (perfsprint)
Tests (1.21): axis/axis_test.go#L56
float-compare: use req.InEpsilon (or InDelta) (testifylint)
Tests (1.21): axis/axis_test.go#L64
float-compare: use req.InEpsilon (or InDelta) (testifylint)
Tests (1.21): datasource/influxdb/options_test.go#L128
bool-compare: use req.True (testifylint)
Tests (1.21): datasource/influxdb/options_test.go#L137
bool-compare: use req.True (testifylint)
Tests (1.21): datasource/influxdb/options_test.go#L146
bool-compare: use req.True (testifylint)
Tests (1.21): datasource/jaeger/options_test.go#L49
bool-compare: use req.False (testifylint)
Tests (1.21): datasource/loki/options_test.go#L49
bool-compare: use req.False (testifylint)
Tests (1.20): datasource/stackdriver/options_test.go#L29
G101: Potential hardcoded credentials: Google (GCP) Service-account (gosec)
Tests (1.20): dashboards.go#L210
fmt.Sprintf can be replaced with faster strconv.FormatUint (perfsprint)
Tests (1.20): dashboards.go#L217
fmt.Sprintf can be replaced with faster strconv.FormatUint (perfsprint)
Tests (1.20): axis/axis_test.go#L56
float-compare: use req.InEpsilon (or InDelta) (testifylint)
Tests (1.20): axis/axis_test.go#L64
float-compare: use req.InEpsilon (or InDelta) (testifylint)
Tests (1.20): datasource/influxdb/options_test.go#L128
bool-compare: use req.True (testifylint)
Tests (1.20): datasource/influxdb/options_test.go#L137
bool-compare: use req.True (testifylint)
Tests (1.20): datasource/influxdb/options_test.go#L146
bool-compare: use req.True (testifylint)
Tests (1.20): datasource/jaeger/options_test.go#L49
bool-compare: use req.False (testifylint)
Tests (1.20): datasource/loki/options_test.go#L49
bool-compare: use req.False (testifylint)