From b2549a78bd9aa56ef4437b7044f5e7b5c7374b6f Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 27 Sep 2024 12:25:10 -0700 Subject: [PATCH] fix: Move imports to top of file --- aider/help.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/aider/help.py b/aider/help.py index d4a575e0a..ed8eaf1f0 100755 --- a/aider/help.py +++ b/aider/help.py @@ -1,6 +1,8 @@ #!/usr/bin/env python +import json import os +import shutil import warnings from pathlib import Path @@ -58,10 +60,6 @@ def fname_to_url(filepath): return docid -import json -import shutil - - def get_index(): from llama_index.core import ( Document,