From e817c76e3877cbe986b7abf308f427f6d069a2c2 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 6 Mar 2025 12:00:33 -0800 Subject: [PATCH] style: Format code with linter and improve line breaks --- aider/args.py | 5 ++++- aider/io.py | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/aider/args.py b/aider/args.py index 871cbd9c3..f85316927 100644 --- a/aider/args.py +++ b/aider/args.py @@ -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", diff --git a/aider/io.py b/aider/io.py index 6863b41e2..3109cf275 100644 --- a/aider/io.py +++ b/aider/io.py @@ -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}")