mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
style: format code with linter
This commit is contained in:
parent
03faad3110
commit
1b58e1f6ad
1 changed files with 8 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue