mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
style: format linter adjustments in io.py for better readability
This commit is contained in:
parent
c5fb25eec3
commit
fd9dc9e8d2
1 changed files with 10 additions and 6 deletions
16
aider/io.py
16
aider/io.py
|
@ -256,12 +256,16 @@ class InputOutput:
|
||||||
style_dict = {}
|
style_dict = {}
|
||||||
if self.pretty and self.user_input_color:
|
if self.pretty and self.user_input_color:
|
||||||
style_dict.setdefault("", self.user_input_color)
|
style_dict.setdefault("", self.user_input_color)
|
||||||
style_dict.update({
|
style_dict.update(
|
||||||
"completion-menu": f"bg:{self.completion_menu_bg_color} {self.completion_menu_color}",
|
{
|
||||||
"completion-menu.completion.current": (
|
"completion-menu": (
|
||||||
f"bg:{self.completion_menu_current_bg_color} {self.completion_menu_current_color}"
|
f"bg:{self.completion_menu_bg_color} {self.completion_menu_color}"
|
||||||
),
|
),
|
||||||
})
|
"completion-menu.completion.current": (
|
||||||
|
f"bg:{self.completion_menu_current_bg_color} {self.completion_menu_current_color}"
|
||||||
|
),
|
||||||
|
}
|
||||||
|
)
|
||||||
return Style.from_dict(style_dict)
|
return Style.from_dict(style_dict)
|
||||||
else:
|
else:
|
||||||
return {}
|
return {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue