databricks-cli/cmd
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
..
account Upgrade Go SDK to 0.54.0 (#2029) 2024-12-18 12:43:27 +00:00
api Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
auth Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
bundle Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
configure Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
fs Consolidate test helpers for `io/fs` (#1906) 2024-11-15 15:37:21 +00:00
labs Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
root Remove calls to `t.Setenv` from integration tests (#2018) 2024-12-16 12:34:37 +01:00
sync Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
version Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
workspace Upgrade Go SDK to 0.54.0 (#2029) 2024-12-18 12:43:27 +00:00
cmd.go Upgrade Go SDK to 0.44.0 (#1679) 2024-08-15 13:23:07 +00:00