mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
style: Format code with consistent string quotes
This commit is contained in:
parent
8ed5e81bdb
commit
d54b13e80a
1 changed files with 2 additions and 3 deletions
|
@ -1424,11 +1424,10 @@ def get_model_settings_as_yaml():
|
|||
|
||||
# Filter out None values before dumping
|
||||
yaml_str = yaml.dump(
|
||||
[ms for ms in model_settings_list if ms is not None],
|
||||
default_flow_style=False
|
||||
[ms for ms in model_settings_list if ms is not None], default_flow_style=False
|
||||
)
|
||||
# Add actual blank lines between entries
|
||||
return yaml_str.replace('\n- ', '\n\n- ')
|
||||
return yaml_str.replace("\n- ", "\n\n- ")
|
||||
|
||||
|
||||
def main():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue