Skip to content

Commit 6c38dbe

Browse files
committed
sort inputs
1 parent a112367 commit 6c38dbe

File tree

2 files changed

+13
-16
lines changed

2 files changed

+13
-16
lines changed

cwltest/__init__.py

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,29 @@
55
import logging
66
import os
77
import shutil
8+
import subprocess # nosec
89
import sys
910
import tempfile
1011
import threading
1112
import time
12-
from typing import Any, Dict, List, Optional, Set, Text, Union
13-
from concurrent.futures import ThreadPoolExecutor
1413
from collections import defaultdict
15-
from rdflib import Graph
14+
from concurrent.futures import ThreadPoolExecutor
15+
from shlex import quote
16+
from typing import Any, Dict, List, Optional, Set, Union
1617

17-
import ruamel.yaml as yaml
18+
import junit_xml
19+
import pkg_resources # part of setuptools
1820
import ruamel.yaml.scanner as yamlscanner
21+
import schema_salad.avro.schema
1922
import schema_salad.ref_resolver
2023
import schema_salad.schema
21-
import schema_salad.avro.schema
22-
import pkg_resources # part of setuptools
24+
from rdflib import Graph
2325

24-
import junit_xml
2526
from cwltest.utils import (
26-
compare,
27+
REQUIRED,
2728
CompareFail,
2829
TestResult,
29-
REQUIRED,
30+
compare,
3031
get_test_number_by_key,
3132
)
3233

@@ -37,9 +38,6 @@
3738
UNSUPPORTED_FEATURE = 33
3839
DEFAULT_TIMEOUT = 600 # 10 minutes
3940

40-
import subprocess # nosec
41-
from shlex import quote
42-
4341
templock = threading.Lock()
4442

4543

@@ -391,8 +389,8 @@ def main(): # type: () -> int
391389
(
392390
document_loader,
393391
avsc_names,
394-
schema_metadata,
395-
metaschema_loader,
392+
_,
393+
_,
396394
) = schema_salad.schema.load_schema(
397395
"https://w3id.org/cwl/cwltest/cwltest-schema.yml", cache=cache
398396
)

cwltest/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import json
2-
3-
from typing import Any, Dict, Set, Text, List, Optional
2+
from typing import Any, Dict, List, Optional, Set, Text
43

54
import junit_xml
65

0 commit comments

Comments
 (0)