databricks-cli/bundle/internal/schema
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 Custom annotations for bundle-specific JSON schema fields (#1957) 2024-12-18 10:19:14 +00:00
annotations.go fix: Empty schema fields in OpenAPI spec (#2045) 2024-12-23 12:08:01 +00:00
annotations.yml fix: Empty schema fields in OpenAPI spec (#2045) 2024-12-23 12:08:01 +00:00
annotations_openapi.yml fix: Empty schema fields in OpenAPI spec (#2045) 2024-12-23 12:08:01 +00:00
annotations_openapi_overrides.yml Upgrade Go SDK to 0.54.0 (#2029) 2024-12-18 12:43:27 +00:00
annotations_test.go Custom annotations for bundle-specific JSON schema fields (#1957) 2024-12-18 10:19:14 +00:00
main.go Custom annotations for bundle-specific JSON schema fields (#1957) 2024-12-18 10:19:14 +00:00
main_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
parser.go fix: Empty schema fields in OpenAPI spec (#2045) 2024-12-23 12:08:01 +00:00