databricks-cli/libs/flags
Denis Bilenko 0b80784df7
Enable testifylint and fix the issues (#2065)
## Changes
- Enable new linter: testifylint.
- Apply fixes with --fix.
- Fix remaining issues (mostly with aider).

There were 2 cases we --fix did the wrong thing - this seems to a be a
bug in linter: https://github.com/Antonboom/testifylint/issues/210

Nonetheless, I kept that check enabled, it seems useful, just need to be
fixed manually after autofix.

## Tests
Existing tests
2025-01-02 12:03:41 +01:00
..
json_flag.go Fixed unmarshalling json input into `interface{}` type (#1832) 2024-10-15 12:10:02 +00:00
json_flag_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
log_file_flag.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
log_file_flag_test.go Add structured logging infrastructure (#246) 2023-03-16 14:46:53 +01:00
log_level_flag.go Upgraded Go version to 1.21 (#664) 2023-08-15 13:50:40 +00:00
log_level_flag_test.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
output.go Added OpenAPI command coverage (#357) 2023-04-26 13:06:16 +02:00
output_test.go Added OpenAPI command coverage (#357) 2023-04-26 13:06:16 +02:00
progress_format.go Add mode default as a valid set value for progress-format flag (#472) 2023-06-14 13:26:56 +02:00
progress_format_test.go Add progress logs for job runs (#276) 2023-03-29 14:58:09 +02:00