style: Format code with consistent spacing in comments

This commit is contained in:
Paul Gauthier (aider) 2025-03-22 14:19:10 -07:00
parent 3e9a6ffbca
commit 3a18a9296b

View file

@ -15,29 +15,29 @@ class ContextCoder(Coder):
if not content or not content.strip():
return True
#dump(repr(content))
# dump(repr(content))
current_rel_fnames = set(self.get_inchat_relative_files())
mentioned_rel_fnames = set(self.get_file_mentions(content, ignore_current=True))
#dump(current_rel_fnames)
#dump(mentioned_rel_fnames)
#dump(current_rel_fnames == mentioned_rel_fnames)
# dump(current_rel_fnames)
# dump(mentioned_rel_fnames)
# dump(current_rel_fnames == mentioned_rel_fnames)
if mentioned_rel_fnames == current_rel_fnames:
return True
if self.num_reflections >= self.max_reflections-1:
if self.num_reflections >= self.max_reflections - 1:
return True
self.abs_fnames = set()
for fname in mentioned_rel_fnames:
self.add_rel_fname(fname)
#dump(self.get_inchat_relative_files())
# dump(self.get_inchat_relative_files())
self.reflected_message = self.gpt_prompts.try_again
#mentioned_idents = self.get_ident_mentions(cur_msg_text)
#if mentioned_idents:
# mentioned_idents = self.get_ident_mentions(cur_msg_text)
# if mentioned_idents:
return True