From 869f37cd89986648a7491a0115e3afb74cf9094b Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Mon, 13 Jan 2025 09:35:07 -0800 Subject: [PATCH] style: Format code for better readability in io.py --- aider/io.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aider/io.py b/aider/io.py index 140847c9e..66ae26382 100644 --- a/aider/io.py +++ b/aider/io.py @@ -251,8 +251,9 @@ class InputOutput: f"Invalid line_endings value: {line_endings}. " f"Must be one of: {', '.join(valid_line_endings)}" ) - self.newline = None if line_endings == "platform" \ - else "\n" if line_endings == "lf" else "\r\n" + self.newline = ( + None if line_endings == "platform" else "\n" if line_endings == "lf" else "\r\n" + ) self.dry_run = dry_run current_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S")