mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +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",
|
"--notifications",
|
||||||
action=argparse.BooleanOptionalAction,
|
action=argparse.BooleanOptionalAction,
|
||||||
default=False,
|
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(
|
group.add_argument(
|
||||||
"--notifications-command",
|
"--notifications-command",
|
||||||
|
|
|
@ -960,6 +960,7 @@ class InputOutput:
|
||||||
if self.notifications_command:
|
if self.notifications_command:
|
||||||
try:
|
try:
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
subprocess.run(self.notifications_command, shell=True)
|
subprocess.run(self.notifications_command, shell=True)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.tool_warning(f"Failed to run notifications command: {e}")
|
self.tool_warning(f"Failed to run notifications command: {e}")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue