style: run linter and format completion menu style definitions

This commit is contained in:
Paul Gauthier (aider) 2024-09-27 19:41:56 -07:00
parent 2c084d65d9
commit cf46d9cdd0

View file

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