From 0cdea6154cef62ce96b1f2bc7018c0f06c3f2162 Mon Sep 17 00:00:00 2001 From: mentatai <162378962+mentatai@users.noreply.github.com> Date: Wed, 4 Sep 2024 22:56:04 +0000 Subject: [PATCH] CI fix: Fix CI failure due to formatting issue This commit addresses the CI failure in pull request #112 by reformatting the `spice/models.py` file to comply with the required code style. The `model_copy` call has been split into multiple lines to ensure proper formatting. This change should resolve the CI error and allow the pull request to pass the checks. --- spice/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spice/models.py b/spice/models.py index e49af23..f8aca69 100644 --- a/spice/models.py +++ b/spice/models.py @@ -174,7 +174,9 @@ def get_model_from_name(model_name: str) -> Model: else: input_cost = None output_cost = None - model = model.model_copy(update={"name": model_name, "input_cost": input_cost, "output_cost": output_cost}) + model = model.model_copy( + update={"name": model_name, "input_cost": input_cost, "output_cost": output_cost} + ) return model return UnknownModel(model_name, None)