style: Apply linter formatting to base_coder.py

This commit is contained in:
Paul Gauthier (aider) 2025-03-07 16:00:47 -08:00
parent e6dd9978cb
commit 490c6d9a28

View file

@ -1723,7 +1723,7 @@ class Coder:
text = re.sub(f"\\s*</{tag_name}>\\s*", f"\n\n{REASONING_END}", text)
# Clean up any excessive newlines (more than 2 consecutive)
text = re.sub(r'\n{3,}', '\n\n', text)
text = re.sub(r"\n{3,}", "\n\n", text)
return text