mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
style: Format code with linter and improve line breaks
This commit is contained in:
parent
65e059a7d2
commit
e817c76e38
2 changed files with 5 additions and 1 deletions
|
@ -817,7 +817,10 @@ def get_parser(default_config_files, git_root):
|
|||
"--notifications",
|
||||
action=argparse.BooleanOptionalAction,
|
||||
default=False,
|
||||
help="Enable/disable terminal bell notifications when LLM responses are ready (default: False)",
|
||||
help=(
|
||||
"Enable/disable terminal bell notifications when LLM responses are ready (default:"
|
||||
" False)"
|
||||
),
|
||||
)
|
||||
group.add_argument(
|
||||
"--notifications-command",
|
||||
|
|
|
@ -960,6 +960,7 @@ class InputOutput:
|
|||
if self.notifications_command:
|
||||
try:
|
||||
import subprocess
|
||||
|
||||
subprocess.run(self.notifications_command, shell=True)
|
||||
except Exception as e:
|
||||
self.tool_warning(f"Failed to run notifications command: {e}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue