Skip to content

Fix go linting workflow missing tensorflow dependency #29

Fix go linting workflow missing tensorflow dependency

Fix go linting workflow missing tensorflow dependency #29

Triggered via pull request April 5, 2024 20:32
Status Failure
Total duration 59s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: internal/birdnet/analyze.go#L11
could not import github.com/tphakala/go-tflite (-: # github.com/tphakala/go-tflite
lint: internal/birdnet/birdnet.go#L36
undefined: tflite (typecheck)
lint: internal/birdnet/birdnet.go#L37
undefined: tflite (typecheck)
lint: internal/birdnet/analyze.go#L144
undefined: tflite (typecheck)
lint: cmd/directory/directory.go#L22
ctx.Settings undefined (type *conf.Context has no field or method Settings) (typecheck)
lint: cmd/directory/directory.go#L28
ctx.Settings undefined (type *conf.Context has no field or method Settings) (typecheck)
lint: cmd/file/file.go#L22
ctx.Settings undefined (type *conf.Context has no field or method Settings) (typecheck)
lint: internal/httpcontroller/init.go#L93
S1000: should use for range instead of for { select {} } (gosimple)
lint: internal/mqtt/mqtt.go#L54
S1002: should omit comparison to bool constant, can be simplified to `!c.internalClient.IsConnected()` (gosimple)
lint: internal/observation/observation.go#L97
printf: fmt.Sprintf format %.1f has arg note.BeginTime of wrong type time.Time (govet)