diff --git a/aider/coders/patch_coder.py b/aider/coders/patch_coder.py index f656cdb49..ecf37769a 100644 --- a/aider/coders/patch_coder.py +++ b/aider/coders/patch_coder.py @@ -195,7 +195,8 @@ class PatchCoder(Coder): elif action.type == ActionType.UPDATE: if not path_obj.exists(): - # Update should fail if file doesn't exist (checked in apply_patch.py parser). + # Update should fail if file doesn't exist + # (checked in apply_patch.py parser). raise ValueError(f"UPDATE Error: File does not exist: {action.path}") current_content = self.io.read_text(full_path)