Skip to content

Commit ab6bd9c

Browse files
committed
import fix and reformat
1 parent 6112533 commit ab6bd9c

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

cwltool/command_line_tool.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,11 @@
1212
import threading
1313
import urllib
1414
import urllib.parse
15-
from collections.abc import (
16-
Generator,
17-
Mapping,
18-
MutableMapping,
19-
MutableSequence,
20-
)
15+
from collections.abc import Generator, Mapping, MutableMapping, MutableSequence
2116
from enum import Enum
2217
from functools import cmp_to_key, partial
2318
from re import Pattern
24-
from typing import Any, Optional, TYPE_CHECKING, TextIO, Union, cast
19+
from typing import TYPE_CHECKING, Any, Optional, TextIO, Union, cast
2520

2621
from cwl_utils.types import (
2722
CWLDirectoryType,
@@ -41,7 +36,12 @@
4136
from schema_salad.utils import json_dumps
4237
from schema_salad.validate import validate_ex
4338

44-
from .builder import Builder, INPUT_OBJ_VOCAB, content_limit_respected_read_bytes, substitute
39+
from .builder import (
40+
INPUT_OBJ_VOCAB,
41+
Builder,
42+
content_limit_respected_read_bytes,
43+
substitute,
44+
)
4545
from .context import LoadingContext, RuntimeContext, getdefault
4646
from .docker import DockerCommandLineJob, PodmanCommandLineJob
4747
from .errors import UnsupportedRequirement, WorkflowException

tests/test_tmpdir.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from typing import cast
1212

1313
import pytest
14+
from cwl_utils.types import CWLObjectType
1415
from ruamel.yaml.comments import CommentedMap
1516
from schema_salad.avro import schema
1617
from schema_salad.sourceline import cmap
@@ -26,7 +27,7 @@
2627
from cwltool.singularity import _IMAGES, _IMAGES_LOCK, SingularityCommandLineJob
2728
from cwltool.stdfsaccess import StdFsAccess
2829
from cwltool.update import INTERNAL_VERSION, ORIGINAL_CWLVERSION
29-
from cwltool.utils import CWLObjectType, create_tmp_dir
30+
from cwltool.utils import create_tmp_dir
3031

3132
from .util import get_data, get_main_output, needs_docker, needs_singularity
3233

0 commit comments

Comments
 (0)