Skip to content

Commit fb039d6

Browse files
committed
Fix lint
Signed-off-by: An T. Le <an.thai.le97@gmail.com>
1 parent 1a1b395 commit fb039d6

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

experiments/runners/run_rl.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,9 @@ def closure(stacked_params):
307307
"time": time.time() - start,
308308
"step_wall_time": step_wall,
309309
"candidates_evaluated": counted.count,
310-
"env_steps_cumulative": getattr(evaluator, "env_steps", counted.count * rollouts_per_candidate * horizon),
310+
"env_steps_cumulative": getattr(
311+
evaluator, "env_steps", counted.count * rollouts_per_candidate * horizon
312+
),
311313
}
312314
)
313315
print(
@@ -774,7 +776,9 @@ def closure(stacked_params):
774776
"time": time.time() - start,
775777
"step_wall_time": step_wall,
776778
"candidates_evaluated": counted.count,
777-
"env_steps_cumulative": getattr(evaluator, "env_steps", counted.count * rollouts_per_candidate * horizon),
779+
"env_steps_cumulative": getattr(
780+
evaluator, "env_steps", counted.count * rollouts_per_candidate * horizon
781+
),
778782
}
779783
)
780784
print(

0 commit comments

Comments
 (0)