style: format gitignore path loading for better readability

This commit is contained in:
Paul Gauthier (aider) 2024-12-01 08:09:16 -08:00
parent e8ccc030c0
commit a8bae3fb01

View file

@ -76,7 +76,9 @@ class FileWatcher:
self.changed_files = set()
self.gitignores = gitignores
self.gitignore_spec = load_gitignores([Path(g) for g in self.gitignores] if self.gitignores else [])
self.gitignore_spec = load_gitignores(
[Path(g) for g in self.gitignores] if self.gitignores else []
)
coder.io.file_watcher = self