databricks-cli/bundle/config/validate
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
..
all_resources_have_values.go Report all empty resources present in error diagnostic (#1685) 2024-08-20 00:22:00 +00:00
files_to_sync.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
files_to_sync_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
folder_permissions.go Fix lost diags across different mutators (#2057) 2024-12-31 14:01:45 +00:00
folder_permissions_test.go Added validator for folder permissions (#1824) 2024-10-24 12:36:17 +00:00
job_cluster_key_defined.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
job_cluster_key_defined_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
job_task_cluster_spec.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
job_task_cluster_spec_test.go Add JobTaskClusterSpec validate mutator (#1784) 2024-09-25 11:30:14 +00:00
single_node_cluster.go Add validation for single node clusters (#1909) 2024-11-22 15:48:09 +00:00
single_node_cluster_test.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
unique_resource_keys.go Pass copy of `dyn.Path` to callback function (#1747) 2024-09-05 11:05:16 +00:00
validate.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
validate_sync_patterns.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00