mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
refactor: Move imports to the top
This commit is contained in:
parent
8cf26407b9
commit
10fdb26cd1
1 changed files with 2 additions and 2 deletions
|
@ -9,6 +9,8 @@ from pathlib import Path
|
||||||
import git
|
import git
|
||||||
import pyperclip
|
import pyperclip
|
||||||
from PIL import Image, ImageGrab
|
from PIL import Image, ImageGrab
|
||||||
|
from pypager.pager import Pager
|
||||||
|
from pypager.source import StringSource
|
||||||
|
|
||||||
from aider import models, prompts, voice
|
from aider import models, prompts, voice
|
||||||
from aider.help import Help, install_help_extra
|
from aider.help import Help, install_help_extra
|
||||||
|
@ -120,8 +122,6 @@ class Commands:
|
||||||
|
|
||||||
def cmd_web(self, args):
|
def cmd_web(self, args):
|
||||||
"Scrape a webpage, convert to markdown and add to the chat"
|
"Scrape a webpage, convert to markdown and add to the chat"
|
||||||
from pypager.pager import Pager
|
|
||||||
from pypager.source import StringSource
|
|
||||||
|
|
||||||
url = args.strip()
|
url = args.strip()
|
||||||
if not url:
|
if not url:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue