From 1b58e1f6ad425311d6f22641519d33130ae62320 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 2 Oct 2024 11:13:49 -0700 Subject: [PATCH] style: format code with linter --- aider/models.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/aider/models.py b/aider/models.py index 60cb5d0f4..85e7de101 100644 --- a/aider/models.py +++ b/aider/models.py @@ -916,17 +916,19 @@ def validate_variables(vars): def sanity_check_models(io, main_model): problem_main = sanity_check_model(io, main_model) - + problem_weak = None if main_model.weak_model and main_model.weak_model is not main_model: problem_weak = sanity_check_model(io, main_model.weak_model) - + problem_editor = None - if (main_model.editor_model and - main_model.editor_model is not main_model and - main_model.editor_model is not main_model.weak_model): + if ( + main_model.editor_model + and main_model.editor_model is not main_model + and main_model.editor_model is not main_model.weak_model + ): problem_editor = sanity_check_model(io, main_model.editor_model) - + return problem_main or problem_weak or problem_editor