Skip to content

Commit

Permalink
Mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie committed Jan 17, 2025
1 parent 2eb9023 commit 54ee30b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cylc/flow/task_job_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def submit_livelike_task_jobs(
bc_mgr = self.task_events_mgr.broadcast_mgr
rtconf = bc_mgr.get_updated_rtconfig(itask)
try:
platform = get_platform(
platform = get_platform( # type: ignore[assignment]
rtconf,
bad_hosts=self.bad_hosts
)
Expand Down Expand Up @@ -1278,7 +1278,7 @@ def _prep_submit_task_job(
workflow, itask, '(platform not defined)', exc)
return False
else:
itask.platform = platform
itask.platform = platform # type: ignore[assignment]
# Retry delays, needed for the try_num
self._set_retry_timers(itask, rtconfig)

Expand Down

0 comments on commit 54ee30b

Please sign in to comment.