Skip to content

Commit

Permalink
mypyc 1.2.0 fix; explicit float
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Apr 25, 2023
1 parent 3c75e98 commit 16393f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cwltool/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -886,8 +886,8 @@ def docker_monitor(
except OSError as exc:
_logger.warning("Ignored error with %s stats: %s", docker_exe, exc)
return
max_mem_percent: float = 0
mem_percent: float = 0
max_mem_percent: float = 0.0
mem_percent: float = 0.0
with open(stats_file_name) as stats:
while True:
line = stats.readline()
Expand Down

0 comments on commit 16393f0

Please sign in to comment.