File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ def is_streamable(file: str) -> bool:
190190 return False
191191 for inp in self .joborder .values ():
192192 if isinstance (inp , dict ) and inp .get ("location" , None ) == file :
193- return inp .get ("streamable" , False )
193+ return cast ( bool , inp .get ("streamable" , False ) )
194194 return False
195195
196196 for knownfile in self .pathmapper .files ():
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ show_column_numbers = true
55show_error_codes = true
66pretty = true
77warn_unreachable = True
8+ new_type_inference = True
89
910[mypy-galaxy.tool_util.*]
1011ignore_missing_imports = True
Original file line number Diff line number Diff line change 8585 "cwltool/workflow.py" ,
8686 ]
8787
88- from mypyc .build import mypycify # type: ignore[import]
88+ from mypyc .build import mypycify # type: ignore[import-untyped ]
8989
9090 opt_level = os .getenv ("MYPYC_OPT_LEVEL" , "3" )
9191 ext_modules = mypycify (mypyc_targets , opt_level = opt_level )
You can’t perform that action at this time.
0 commit comments