Skip to content

Commit 7ea2f99

Browse files
committed
mypy
1 parent d390f4b commit 7ea2f99

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

cwltool/draft2tool.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,9 @@ def collect_output(self, schema, builder, outdir, fs_access, compute_checksum=Tr
592592
else "Directory"}
593593
for g in sorted(fs_access.glob(
594594
fs_access.join(outdir, gb)),
595-
key=cmp_to_key(locale.strcoll))])
595+
key=cmp_to_key(cast(
596+
Callable[[unicode, unicode],
597+
int], locale.strcoll)))])
596598
except (OSError, IOError) as e:
597599
_logger.warning(Text(e))
598600
except:

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ whitelist_externals =
3333
commands = make mypy2
3434
whitelist_externals = make
3535
deps =
36-
mypy==0.520
36+
mypy==0.560
3737
-rrequirements.txt
3838

3939
[testenv:py35-mypy3]
4040
commands = make mypy3
4141
whitelist_externals = make
4242
deps =
43-
mypy==0.520
43+
mypy==0.560
4444
-rrequirements.txt
4545

4646
[testenv:py27-pipconflictchecker]

0 commit comments

Comments
 (0)