mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 19:55:00 +00:00
fix: Remove unused imports in aider/commands.py
This commit is contained in:
parent
6287bf37e5
commit
7830dadccf
1 changed files with 1 additions and 2 deletions
|
@ -8,7 +8,7 @@ from pathlib import Path
|
||||||
|
|
||||||
import pyperclip
|
import pyperclip
|
||||||
from PIL import Image, ImageGrab
|
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 prompt_toolkit.document import Document
|
||||||
|
|
||||||
from aider import models, prompts, voice
|
from aider import models, prompts, voice
|
||||||
|
@ -580,7 +580,6 @@ class Commands:
|
||||||
return fname
|
return fname
|
||||||
|
|
||||||
def completions_raw_read_only(self, document, complete_event):
|
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
|
# Get the text before the cursor and strip leading spaces
|
||||||
text = document.text_before_cursor.lstrip()
|
text = document.text_before_cursor.lstrip()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue