Skip to content

Python hints integration #493

Python hints integration

Python hints integration #493

Triggered via pull request December 12, 2023 09:01
Status Failure
Total duration 19s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: pkg/hintrunner/hintparser.go#L107
S1034: assigning the result of this type assertion to a variable (switch result := result.(type)) could eliminate type assertions in switch cases (gosimple)
lint: pkg/hintrunner/hintparser.go#L109
S1034(related information): could eliminate this type assertion (gosimple)
lint: pkg/hintrunner/hintparser.go#L112
S1034(related information): could eliminate this type assertion (gosimple)
lint: pkg/hintrunner/hintparser.go#L119
S1034(related information): could eliminate this type assertion (gosimple)
lint: pkg/hintrunner/hintparser.go#L136
S1034: assigning the result of this type assertion to a variable (switch result := result.(type)) could eliminate type assertions in switch cases (gosimple)
lint: pkg/hintrunner/hintparser.go#L245
S1034: assigning the result of this type assertion to a variable (switch cellRef := cellRef.(type)) could eliminate type assertions in switch cases (gosimple)
lint: pkg/hintrunner/hintparser.go#L264
S1034: assigning the result of this type assertion to a variable (switch rightExp := rightExp.(type)) could eliminate type assertions in switch cases (gosimple)
lint: pkg/hintrunner/zerohint.go#L103
S1034: assigning the result of this type assertion to a variable (switch param := param.(type)) could eliminate type assertions in switch cases (gosimple)
lint: pkg/hintrunner/zerohint.go#L66
S1005: unnecessary assignment to the blank identifier (gosimple)
lint: pkg/hintrunner/hintparser.go#L25
structtag: struct field tag `@@ |` not compatible with reflect.StructTag.Get: bad syntax for struct tag pair (govet)