mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 19:55:00 +00:00
style: Ran the linter
This commit is contained in:
parent
b930a1db40
commit
f8390a889b
1 changed files with 6 additions and 9 deletions
|
@ -587,10 +587,7 @@ class Commands:
|
||||||
)
|
)
|
||||||
|
|
||||||
# Get completions from the PathCompleter
|
# Get completions from the PathCompleter
|
||||||
completions = path_completer.get_completions(
|
completions = path_completer.get_completions(document.replace(text=text), complete_event)
|
||||||
document.replace(text=text),
|
|
||||||
complete_event
|
|
||||||
)
|
|
||||||
|
|
||||||
# Yield the completions
|
# Yield the completions
|
||||||
for completion in completions:
|
for completion in completions:
|
||||||
|
@ -599,7 +596,7 @@ class Commands:
|
||||||
completion.text,
|
completion.text,
|
||||||
start_position=completion.start_position - len(document.text) + len(text),
|
start_position=completion.start_position - len(document.text) + len(text),
|
||||||
display=completion.display,
|
display=completion.display,
|
||||||
display_meta=completion.display_meta
|
display_meta=completion.display_meta,
|
||||||
)
|
)
|
||||||
|
|
||||||
def completions_add(self):
|
def completions_add(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue