Add option to hide successful tuple imports and display import summary #1459
Annotations
10 errors and 1 warning
golangci-lint:
cmd/tuple/write_test.go#L354
Error return value of `io.Copy` is not checked (errcheck)
|
golangci-lint:
cmd/tuple/write_test.go#L233
cognitive complexity 38 of func `TestWriteTuplesWithImportStats` is high (> 30) (gocognit)
|
golangci-lint:
cmd/tuple/write.go#L119
calculated cyclomatic complexity for function writeTuplesFromFile is 11, max is 10 (cyclop)
|
golangci-lint:
cmd/tuple/write_test.go#L324
`if err == nil` has complex nested blocks (complexity: 7) (nestif)
|
golangci-lint:
cmd/tuple/write_test.go#L359
return with no blank line before (nlreturn)
|
golangci-lint:
cmd/tuple/write_test.go#L363
len: use assert.Len (testifylint)
|
golangci-lint:
cmd/tuple/write_test.go#L316
variable name 'r' is too short for the scope of its usage (varnamelen)
|
golangci-lint:
cmd/tuple/write.go#L163
error returned from external package is unwrapped: sig: func github.com/openfga/cli/internal/output.Display(data any) error (wrapcheck)
|
golangci-lint:
cmd/tuple/write.go#L170
error returned from external package is unwrapped: sig: func github.com/openfga/cli/internal/output.Display(data any) error (wrapcheck)
|
golangci-lint:
cmd/tuple/write_test.go#L374
if statements should only be cuddled with assignments (wsl)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading