databricks-cli/libs/fileset
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 Make fileset take optional list of paths to list (#1684) 2024-08-19 15:15:14 +00:00
file.go Abstract over filesystem interaction with libs/vfs (#1452) 2024-05-30 07:41:50 +00:00
file_test.go Abstract over filesystem interaction with libs/vfs (#1452) 2024-05-30 07:41:50 +00:00
fileset.go Make fileset take optional list of paths to list (#1684) 2024-08-19 15:15:14 +00:00
fileset_test.go Make fileset take optional list of paths to list (#1684) 2024-08-19 15:15:14 +00:00
glob.go Abstract over filesystem interaction with libs/vfs (#1452) 2024-05-30 07:41:50 +00:00
glob_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
ignorer.go Support .gitignore syntax in sync section and make sure it works recursively (#854) 2023-10-10 08:45:15 +00:00