databricks-cli/libs/auth
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
..
cache Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
callback.go Enable errcheck everywhere and fix or silent remaining issues (#1987) 2024-12-11 13:26:00 +01:00
oauth.go Clean host URL in the `auth login` command (#1879) 2024-11-05 15:29:27 +00:00
oauth_test.go Enable linter bodyclose (#1968) 2024-12-05 19:11:49 +00:00
page.tmpl Fix link to workspace after AWS OAuth login (#234) 2023-03-08 11:56:46 +01:00