diff --git a/aider/watch.py b/aider/watch.py index 8f716f22f..dbca84499 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -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