Skip to content

Commit ceb78d0

Browse files
committed
mypy 0.940: remove now-redundant cast
1 parent 8c2e15d commit ceb78d0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

cwltool/command_line_tool.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,12 +1377,7 @@ def collect_output(
13771377
prefix = fs_access.glob(outdir)
13781378
sorted_glob_result = sorted(
13791379
fs_access.glob(fs_access.join(outdir, gb)),
1380-
key=cmp_to_key(
1381-
cast(
1382-
Callable[[str, str], int],
1383-
locale.strcoll,
1384-
)
1385-
),
1380+
key=cmp_to_key(locale.strcoll),
13861381
)
13871382
r.extend(
13881383
[

0 commit comments

Comments
 (0)