Skip to content

Commit 16393f0

Browse files
committed
mypyc 1.2.0 fix; explicit float
1 parent 3c75e98 commit 16393f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cwltool/job.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -886,8 +886,8 @@ def docker_monitor(
886886
except OSError as exc:
887887
_logger.warning("Ignored error with %s stats: %s", docker_exe, exc)
888888
return
889-
max_mem_percent: float = 0
890-
mem_percent: float = 0
889+
max_mem_percent: float = 0.0
890+
mem_percent: float = 0.0
891891
with open(stats_file_name) as stats:
892892
while True:
893893
line = stats.readline()

0 commit comments

Comments
 (0)