databricks-cli/bundle/permissions
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
..
filter.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
filter_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
mutator.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
mutator_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
permission_diagnostics.go Show actionable errors for collaborative deployment scenarios (#1386) 2024-10-10 11:18:23 +00:00
permission_diagnostics_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
permission_report.go Move utility functions dealing with IAM to libs/iamutil (#1820) 2024-10-10 13:02:25 +00:00
permission_report_test.go Show actionable errors for collaborative deployment scenarios (#1386) 2024-10-10 11:18:23 +00:00
terraform_errors.go Show actionable errors for collaborative deployment scenarios (#1386) 2024-10-10 11:18:23 +00:00
terraform_errors_test.go Show actionable errors for collaborative deployment scenarios (#1386) 2024-10-10 11:18:23 +00:00
utils.go Process top-level permissions for resources using dynamic config (#1964) 2024-12-09 15:26:41 +00:00
validate.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
validate_test.go Added a warning when incorrect permissions used for `/Workspace/Shared` bundle root (#1821) 2024-10-18 15:37:16 +00:00
workspace_path_permissions.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
workspace_path_permissions_test.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
workspace_root.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
workspace_root_test.go Use SetPermissions instead of UpdatePermissions when setting folder permissions based on top-level ones (#1822) 2024-10-29 12:06:38 +00:00