Add option to hide successful tuple imports and display import summary #1460
Annotations
10 errors and 1 warning
golangci-lint:
cmd/tuple/write_test.go#L347
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#L321
`if err == nil` has complex nested blocks (complexity: 7) (nestif)
|
golangci-lint:
cmd/tuple/write_test.go#L352
return with no blank line before (nlreturn)
|
golangci-lint:
cmd/tuple/write_test.go#L356
len: use assert.Len (testifylint)
|
golangci-lint:
cmd/tuple/write_test.go#L315
variable name 'w' 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#L332
only one cuddle assignment allowed before if statement (wsl)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading