From 4d9f091802fe7b84bce9f18fce8d93f5d182ed96 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 13 Aug 2024 09:19:58 -0700 Subject: [PATCH] style: format code for better readability --- aider/models.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/aider/models.py b/aider/models.py index 30ae58c5e..849a9c1aa 100644 --- a/aider/models.py +++ b/aider/models.py @@ -675,10 +675,16 @@ def sanity_check_model(io, model): io.tool_error(f"Model {model}: Missing these environment variables:") for key in model.missing_keys: io.tool_error(f"- {key}") - + if platform.system() == "Windows": - io.tool_output("\nNote for Windows users: If you've just set these environment variables using 'setx',") - io.tool_output("you may need to restart your terminal or command prompt for the changes to take effect.") + io.tool_output( + "\nNote for Windows users: If you've just set these environment variables using" + " 'setx'," + ) + io.tool_output( + "you may need to restart your terminal or command prompt for the changes to take" + " effect." + ) elif not model.keys_in_environment: show = True io.tool_output(f"Model {model}: Unknown which environment variables are required.")