From bcc8b1917afb6f8d1a91b54242b9c7e71430ee4d Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 5 Mar 2025 16:57:56 -0800 Subject: [PATCH] style: Fix linter warnings in models.py --- aider/models.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/aider/models.py b/aider/models.py index 20bd94130..16bc6ec83 100644 --- a/aider/models.py +++ b/aider/models.py @@ -777,16 +777,16 @@ def sanity_check_model(io, model): check_pip_install_extra( io, "boto3", "AWS Bedrock models require the boto3 package.", ["boto3"] ) - + # Check if this is a Vertex AI model and ensure google-cloud-aiplatform is installed if model.name.startswith("vertex_ai/"): from aider.utils import check_pip_install_extra check_pip_install_extra( - io, - "google.cloud.aiplatform", - "Google Vertex AI models require the google-cloud-aiplatform package.", - ["google-cloud-aiplatform"] + io, + "google.cloud.aiplatform", + "Google Vertex AI models require the google-cloud-aiplatform package.", + ["google-cloud-aiplatform"], ) if not model.info: