From 7830dadccf9adc78dd970ddc5f66e0921ee98b70 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 27 Sep 2024 16:39:37 -0700 Subject: [PATCH] fix: Remove unused imports in aider/commands.py --- aider/commands.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aider/commands.py b/aider/commands.py index 9f621a1ca..0098ca309 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -8,7 +8,7 @@ from pathlib import Path import pyperclip from PIL import Image, ImageGrab -from prompt_toolkit.completion import Completion, PathCompleter +from prompt_toolkit.completion import PathCompleter from prompt_toolkit.document import Document from aider import models, prompts, voice @@ -580,7 +580,6 @@ class Commands: return fname def completions_raw_read_only(self, document, complete_event): - from prompt_toolkit.document import Document # Get the text before the cursor and strip leading spaces text = document.text_before_cursor.lstrip()