diff --git a/aider/repomap.py b/aider/repomap.py index ac13e9b0d..de5a162b6 100644 --- a/aider/repomap.py +++ b/aider/repomap.py @@ -249,7 +249,6 @@ class RepoMap: # miss! data = list(self.get_tags_raw(fname, rel_fname)) - dump(data) # Update the cache try: @@ -288,7 +287,6 @@ class RepoMap: captures = query.captures(tree.root_node) saw = set() - dump(USING_TSL_PACK) if USING_TSL_PACK: all_nodes = [] for tag, nodes in captures.items(): @@ -297,7 +295,6 @@ class RepoMap: all_nodes = list(captures) for node, tag in all_nodes: - dump(node, tag) if tag.startswith("name.definition."): kind = "def" elif tag.startswith("name.reference."): @@ -314,7 +311,6 @@ class RepoMap: kind=kind, line=node.start_point[0], ) - dump(result) yield result @@ -411,7 +407,6 @@ class RepoMap: personalization[rel_fname] = personalize tags = list(self.get_tags(fname, rel_fname)) - dump(tags) if tags is None: continue @@ -440,7 +435,6 @@ class RepoMap: # Helps with tree-sitter 0.23.2 with ruby, where "def greet(name)" # isn't counted as a def AND a ref. tree-sitter 0.24.0 does. for ident in defines.keys(): - dump(ident) if ident in references: continue for definer in defines[ident]: @@ -451,7 +445,6 @@ class RepoMap: progress() definers = defines[ident] - dump(ident, definers) if ident in mentioned_idents: mul = 10 elif ident.startswith("_"): @@ -470,7 +463,6 @@ class RepoMap: G.add_edge(referencer, definer, weight=mul * num_refs, ident=ident) - dump(G.nodes) if not references: pass