diff --git a/aider/coders/patch_flex_coder.py b/aider/coders/patch_flex_coder.py index 488f6436e..41fb23d5d 100644 --- a/aider/coders/patch_flex_coder.py +++ b/aider/coders/patch_flex_coder.py @@ -419,7 +419,9 @@ class PatchFlexCoder(Coder): # Rename class if norm_line.strip() == "": added_lines.append("") # Treat blank line as adding a blank line else: - raise DiffError(f"Invalid Add File line (missing '+') (line {index + 1}): {line}") + raise DiffError( + f"Invalid Add File line (missing '+') (line {index + 1}): {line}" + ) else: added_lines.append(line[1:])