From cf46d9cdd03248034c1960e701f450219d7601c8 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 27 Sep 2024 19:41:56 -0700 Subject: [PATCH] style: run linter and format completion menu style definitions --- aider/io.py | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/aider/io.py b/aider/io.py index 8529ef450..a26c2fa72 100644 --- a/aider/io.py +++ b/aider/io.py @@ -340,12 +340,9 @@ class InputOutput: style_dict = { "pygments.literal.string": f"bold italic {self.user_input_color}", - "completion-menu": ( - f"bg:{self.completion_menu_bg_color} {self.completion_menu_color}" - ), + "completion-menu": f"bg:{self.completion_menu_bg_color} {self.completion_menu_color}", "completion-menu.completion.current": ( - f"bg:{self.completion_menu_current_bg_color} " - f"{self.completion_menu_current_color}" + f"bg:{self.completion_menu_current_bg_color} {self.completion_menu_current_color}" ), } style = self._get_style(style_dict) @@ -489,12 +486,9 @@ class InputOutput: self.tool_output(subject, bold=True) style_dict = { - "completion-menu": ( - f"bg:{self.completion_menu_bg_color} {self.completion_menu_color}" - ), + "completion-menu": f"bg:{self.completion_menu_bg_color} {self.completion_menu_color}", "completion-menu.completion.current": ( - f"bg:{self.completion_menu_current_bg_color} " - f"{self.completion_menu_current_color}" + f"bg:{self.completion_menu_current_bg_color} {self.completion_menu_current_color}" ), } style = self._get_style(style_dict)