From 930923c2113cf55a9e1949ef16546d5952b0382d Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 21 Mar 2025 09:19:34 -0700 Subject: [PATCH] style: Format code to comply with linter rules --- aider/io.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/aider/io.py b/aider/io.py index 50053a602..53976a49a 100644 --- a/aider/io.py +++ b/aider/io.py @@ -71,6 +71,7 @@ def restore_multiline(func): class CommandCompletionException(Exception): """Raised when a command should use the normal autocompleter instead of command-specific completion.""" + pass @@ -553,7 +554,10 @@ class InputOutput: @kb.add("enter", eager=True, filter=~is_searching) def _(event): "Handle Enter key press" - if self.multiline_mode and not (self.editingmode == EditingMode.VI and event.app.vi_state.input_mode == InputMode.NAVIGATION): + if self.multiline_mode and not ( + self.editingmode == EditingMode.VI + and event.app.vi_state.input_mode == InputMode.NAVIGATION + ): # In multiline mode and if not in vi-mode or vi navigation/normal mode, Enter adds a newline event.current_buffer.insert_text("\n") else: