style: Format code using linter rules

This commit is contained in:
Paul Gauthier (aider) 2024-08-21 09:33:20 -07:00
parent 387441b48a
commit dc16bf6cda

View file

@ -113,7 +113,10 @@ class AutoCompleter(Completer):
candidates = self.words
candidates.update(set(self.fname_to_rel_fnames))
candidates = [(word, f"`{word}`" if word not in self.fname_to_rel_fnames else word) for word in candidates]
candidates = [
(word, f"`{word}`" if word not in self.fname_to_rel_fnames else word)
for word in candidates
]
last_word = words[-1]
for word_match, word_insert in candidates: