From a8bae3fb01a80bbfc92f705df4634bc834662472 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sun, 1 Dec 2024 08:09:16 -0800 Subject: [PATCH] style: format gitignore path loading for better readability --- aider/watch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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