Skip to content

Commit a816d35

Browse files
authored
type hint for global var hack
1 parent 40151da commit a816d35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,5 +216,5 @@ def random_outdir(): # type: () -> Text
216216
""" Return the random directory name chosen to use for tool / workflow output """
217217
# compute this once and store it as a function attribute - each subsequent call will return the same value
218218
if not hasattr(random_outdir, 'outdir'):
219-
random_outdir.outdir = '/' + ''.join([random.choice(string.ascii_letters) for _ in range(6)])
219+
random_outdir.outdir = '/' + ''.join([random.choice(string.ascii_letters) for _ in range(6)]) # type: ignore
220220
return random_outdir.outdir

0 commit comments

Comments
 (0)