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")