Skip to content

Commit cbd20ab

Browse files
committed
remove unicode_literals import from entire codebase
1 parent d395c1e commit cbd20ab

25 files changed

+4
-28
lines changed

cwltool.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env python
22
from __future__ import absolute_import
3-
from __future__ import unicode_literals
43
"""Convienance entry point for cwltool.
54
65
This can be used instead of the recommended method of `./setup.py install`

cwltool/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
32
from __future__ import absolute_import
43
__author__ = '[email protected]'

cwltool/__main__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
32
from __future__ import absolute_import
43
import sys
54

cwltool/builder.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
32
from __future__ import absolute_import
43
import copy
54
from typing import Any, Callable, Dict, List, Text, Type, Union

cwltool/cwlrdf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
32
from __future__ import absolute_import
43
from typing import IO, Any, Dict, Text
54

cwltool/docker.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
32
from __future__ import absolute_import
43
import logging
54
import os

cwltool/docker_uid.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
32
from __future__ import print_function
43
from __future__ import absolute_import
54

cwltool/draft2tool.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
32
from __future__ import absolute_import
43
import copy
54
import hashlib

cwltool/errors.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import unicode_literals
32
class WorkflowException(Exception):
43
pass
54

cwltool/expression.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# -*- coding: utf-8 -*-
22
from __future__ import absolute_import
3-
from __future__ import unicode_literals
43
import copy
54
import json
65
import logging
@@ -120,7 +119,7 @@ def scanner(scan): # type: (Text) -> List[int]
120119
return None
121120

122121

123-
def next_seg(remain, obj): # type: (Text, Any) -> Any
122+
def next_seg(remain, obj): # type: (str, Any) -> Any
124123
if remain:
125124
m = segment_re.match(remain)
126125
key = None # type: Union[Text, int]
@@ -154,7 +153,7 @@ def next_seg(remain, obj): # type: (Text, Any) -> Any
154153

155154

156155
def evaluator(ex, jslib, obj, fullJS=False, timeout=None, debug=False):
157-
# type: (Text, Text, Dict[Text, Any], bool, int, bool) -> JSON
156+
# type: (str, Text, Dict[Text, Any], bool, int, bool) -> JSON
158157
m = param_re.match(ex)
159158
if m:
160159
if m.end(1)+1 == len(ex) and m.group(1) == "null":

0 commit comments

Comments
 (0)