mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
style: format list comprehension to single line
This commit is contained in:
parent
ba17dceb4d
commit
bc1e3a7059
1 changed files with 1 additions and 3 deletions
|
@ -820,9 +820,7 @@ class Commands:
|
|||
else:
|
||||
# Use substring matching like we do for read-only files
|
||||
matched_files = [
|
||||
self.coder.get_rel_fname(f)
|
||||
for f in self.coder.abs_fnames
|
||||
if expanded_word in f
|
||||
self.coder.get_rel_fname(f) for f in self.coder.abs_fnames if expanded_word in f
|
||||
]
|
||||
|
||||
if not matched_files:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue