mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
move import
This commit is contained in:
parent
f5c6667de3
commit
dfd2c495ea
1 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
import os
|
import os
|
||||||
import json
|
import json
|
||||||
import sys
|
import sys
|
||||||
|
import subprocess
|
||||||
|
|
||||||
# from aider.dump import dump
|
# from aider.dump import dump
|
||||||
|
|
||||||
|
@ -22,8 +23,6 @@ def print_tags_info(filename):
|
||||||
last = tag
|
last = tag
|
||||||
|
|
||||||
|
|
||||||
import subprocess
|
|
||||||
|
|
||||||
def get_tags(filename):
|
def get_tags(filename):
|
||||||
cmd = ["ctags", "--fields=+S", "--output-format=json", filename]
|
cmd = ["ctags", "--fields=+S", "--output-format=json", filename]
|
||||||
output = subprocess.check_output(cmd).decode("utf-8")
|
output = subprocess.check_output(cmd).decode("utf-8")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue