mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
style: run linter
This commit is contained in:
parent
2d3605156e
commit
9c5ef0b41a
1 changed files with 3 additions and 4 deletions
|
@ -584,13 +584,12 @@ class Commands:
|
|||
only_directories=False,
|
||||
get_paths=lambda: [self.coder.root],
|
||||
file_filter=lambda fname: (
|
||||
self.coder.repo is None
|
||||
or not self.coder.repo.ignored_file(fname)
|
||||
self.coder.repo is None or not self.coder.repo.ignored_file(fname)
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
word_before_cursor = document.get_word_before_cursor(WORD=True)
|
||||
|
||||
|
||||
for completion in path_completer.get_completions(document, complete_event):
|
||||
if completion.text.startswith(word_before_cursor):
|
||||
yield completion
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue