Skip to content

Commit 0155a69

Browse files
author
Jonathan Harper
committed
Cleanup pre-commit after rebase
1 parent 209a8bb commit 0155a69

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ml-agents/mlagents/trainers/subprocess_env_manager.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def external_brains():
136136
return result
137137

138138
try:
139-
env: BaseEnv = env_factory(
139+
env = env_factory(
140140
worker_id,
141141
[shared_float_properties, engine_configuration_channel, stats_channel],
142142
)
@@ -158,7 +158,11 @@ def external_brains():
158158
step_response = StepResponse(
159159
all_step_result, get_timer_root(), env_stats
160160
)
161-
step_queue.put(EnvironmentResponse(EnvironmentCommand.STEP, worker_id, step_response))
161+
step_queue.put(
162+
EnvironmentResponse(
163+
EnvironmentCommand.STEP, worker_id, step_response
164+
)
165+
)
162166
reset_timers()
163167
elif req.cmd == EnvironmentCommand.EXTERNAL_BRAINS:
164168
_send_response(EnvironmentCommand.EXTERNAL_BRAINS, external_brains())

0 commit comments

Comments
 (0)