Skip to content

Commit d59cdbd

Browse files
author
Peter Amstutz
committed
Add type annotation to ensure_writable
1 parent 75e4c3b commit d59cdbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cwltool/pathmapper.py

+1
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ def downloadHttpFile(httpurl):
169169
return f.name
170170

171171
def ensure_writable(path):
172+
# type: (Text) -> None
172173
if os.path.isdir(path):
173174
for root, dirs, files in os.walk(path):
174175
for name in files:

0 commit comments

Comments
 (0)