mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +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:
|
else:
|
||||||
# Use substring matching like we do for read-only files
|
# Use substring matching like we do for read-only files
|
||||||
matched_files = [
|
matched_files = [
|
||||||
self.coder.get_rel_fname(f)
|
self.coder.get_rel_fname(f) for f in self.coder.abs_fnames if expanded_word in f
|
||||||
for f in self.coder.abs_fnames
|
|
||||||
if expanded_word in f
|
|
||||||
]
|
]
|
||||||
|
|
||||||
if not matched_files:
|
if not matched_files:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue