From dc02daeceebdbae4600ac4d779e88a57dde88f6f Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 5 Mar 2025 16:56:55 -0800 Subject: [PATCH] style: Break long comment into two lines to fix flake8 line length issue --- aider/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aider/models.py b/aider/models.py index f7133cf9e..1c8e7754a 100644 --- a/aider/models.py +++ b/aider/models.py @@ -617,7 +617,8 @@ class Model(ModelSettings): pattern = f"<{self.remove_reasoning}>.*?" res = re.sub(pattern, "", res, flags=re.DOTALL).strip() - # If closing tag exists but opening tag might be missing, remove everything before closing tag + # If closing tag exists but opening tag might be missing, remove everything before closing + # tag closing_tag = f"" if closing_tag in res: # Split on the closing tag and keep everything after it