Skip to content

Commit 4cebcdc

Browse files
committed
Fix pre-commit
1 parent 067378e commit 4cebcdc

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

codeclash/agents/minisweagent.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
class ClashAgentConfig(AgentConfig):
2222
"""`AgentConfig` plus an optional global observation-format override."""
23+
2324
observation_template: str | None = None
2425

2526

codeclash/cli/ladder.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ def _resolve_ladder_rules(ladder_rules: dict, rounds: int) -> tuple[int, int]:
4646
typer.echo(f"ladder_rules.min_round_wins must be an integer, got {min_round_wins!r}.")
4747
raise typer.Exit(1)
4848
if not 1 <= min_round_wins <= rounds:
49-
typer.echo(
50-
f"ladder_rules.min_round_wins must be in [1, {rounds}] (tournament.rounds), got {min_round_wins}."
51-
)
49+
typer.echo(f"ladder_rules.min_round_wins must be in [1, {rounds}] (tournament.rounds), got {min_round_wins}.")
5250
raise typer.Exit(1)
5351

5452
# win_last_k: number of trailing rounds the player must win (1 == just the final round, 0 == disabled).

0 commit comments

Comments
 (0)