Skip to content

Commit 404bff6

Browse files
committed
ruff format
1 parent 5808efc commit 404bff6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llmtune/cli/toolkit.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,7 @@ def run(config_path: str = "./config.yml") -> None:
9090
with open(config_path, "r") as file:
9191
config = yaml.safe_load(file)
9292
configs = (
93-
generate_permutations(config, Config)
94-
if config.get("ablation", {}).get("use_ablate", False)
95-
else [config]
93+
generate_permutations(config, Config) if config.get("ablation", {}).get("use_ablate", False) else [config]
9694
)
9795
for config in configs:
9896
# validate data with pydantic

0 commit comments

Comments
 (0)