From dfd2c495ea33a5d8c5e4c157c06e43b3943075da Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 19 May 2023 08:42:28 -0700 Subject: [PATCH] move import --- aider/ctags.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aider/ctags.py b/aider/ctags.py index c029d1a59..a1df08793 100644 --- a/aider/ctags.py +++ b/aider/ctags.py @@ -1,6 +1,7 @@ import os import json import sys +import subprocess # from aider.dump import dump @@ -22,8 +23,6 @@ def print_tags_info(filename): last = tag -import subprocess - def get_tags(filename): cmd = ["ctags", "--fields=+S", "--output-format=json", filename] output = subprocess.check_output(cmd).decode("utf-8")