databricks-cli/libs/notebook
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 Error out if notebook file does not exist locally (#261) 2023-03-21 18:13:16 +01:00
detect.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
detect_jupyter.go Abstract over filesystem interaction with libs/vfs (#1452) 2024-05-30 07:41:50 +00:00
detect_jupyter_test.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
detect_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
ext.go Add support for non-Python ipynb notebooks to DABs (#1827) 2024-11-13 21:39:51 +00:00