databricks-cli/cmd/labs
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
..
github Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
localcache Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
project Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
unpack Add `databricks labs` command group (#914) 2023-11-17 12:47:37 +00:00
CODEOWNERS Add `databricks labs` command group (#914) 2023-11-17 12:47:37 +00:00
clear_cache.go Fix `panic: $HOME is not set` (#1027) 2023-11-29 19:08:27 +00:00
install.go Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
installed.go Add `databricks labs` command group (#914) 2023-11-17 12:47:37 +00:00
installed_test.go Remove calls to `t.Setenv` from integration tests (#2018) 2024-12-16 12:34:37 +01:00
labs.go Fix `panic: $HOME is not set` (#1027) 2023-11-29 19:08:27 +00:00
list.go Fix `panic: $HOME is not set` (#1027) 2023-11-29 19:08:27 +00:00
list_test.go Remove calls to `t.Setenv` from integration tests (#2018) 2024-12-16 12:34:37 +01:00
show.go Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
uninstall.go Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00
upgrade.go Add usage string when command fails with incorrect arguments (#1276) 2024-03-12 14:12:34 +00:00