mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
style: format gitignore path loading for better readability
This commit is contained in:
parent
e8ccc030c0
commit
a8bae3fb01
1 changed files with 3 additions and 1 deletions
|
@ -76,7 +76,9 @@ class FileWatcher:
|
||||||
self.changed_files = set()
|
self.changed_files = set()
|
||||||
self.gitignores = gitignores
|
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
|
coder.io.file_watcher = self
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue