databricks-cli/libs/databrickscfg/profile
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
..
testdata Improve token refresh flow (#1434) 2024-05-16 10:22:09 +00:00
context.go Improve token refresh flow (#1434) 2024-05-16 10:22:09 +00:00
file.go Improve token refresh flow (#1434) 2024-05-16 10:22:09 +00:00
file_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
in_memory.go Improve token refresh flow (#1434) 2024-05-16 10:22:09 +00:00
profile.go Improve token refresh flow (#1434) 2024-05-16 10:22:09 +00:00
profiler.go Improve token refresh flow (#1434) 2024-05-16 10:22:09 +00:00