style: Format warning message in main.py for readability

This commit is contained in:
Paul Gauthier (aider) 2025-03-18 17:22:31 -07:00
parent 68e218d002
commit 14c0e50721

View file

@ -813,7 +813,8 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
or setting["name"] not in main_model.accepts_settings or setting["name"] not in main_model.accepts_settings
): ):
io.tool_warning( io.tool_warning(
f"Warning: {main_model.name} does not support the '{setting['name']}' setting. This parameter will be ignored." f"Warning: {main_model.name} does not support the '{setting['name']}' setting."
" This parameter will be ignored."
) )
if args.copy_paste and args.edit_format is None: if args.copy_paste and args.edit_format is None: