mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
cleanup
This commit is contained in:
parent
c85c99f9d0
commit
f6197fac40
1 changed files with 1 additions and 4 deletions
|
@ -141,7 +141,6 @@ class RepoMap:
|
||||||
cmd = self.ctags_cmd + [filename]
|
cmd = self.ctags_cmd + [filename]
|
||||||
output = subprocess.check_output(cmd).decode("utf-8")
|
output = subprocess.check_output(cmd).decode("utf-8")
|
||||||
output = output.splitlines()
|
output = output.splitlines()
|
||||||
print('output', output)
|
|
||||||
|
|
||||||
tags = []
|
tags = []
|
||||||
if not output:
|
if not output:
|
||||||
|
@ -176,8 +175,7 @@ class RepoMap:
|
||||||
with open(hello_py, "w") as f:
|
with open(hello_py, "w") as f:
|
||||||
f.write("def hello():\n print('Hello, world!')\n")
|
f.write("def hello():\n print('Hello, world!')\n")
|
||||||
self.get_tags(hello_py)
|
self.get_tags(hello_py)
|
||||||
except Exception as err:
|
except Exception:
|
||||||
print(err)
|
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@ -186,4 +184,3 @@ if __name__ == "__main__":
|
||||||
rm = RepoMap()
|
rm = RepoMap()
|
||||||
res = rm.get_tags_map(sys.argv[1:])
|
res = rm.get_tags_map(sys.argv[1:])
|
||||||
print(res)
|
print(res)
|
||||||
print(res)
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue