Skip to content

Commit f8a8965

Browse files
committed
Satisfy Python formatter
1 parent 154b376 commit f8a8965

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

flang-rt/test/lit.cfg.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
from lit.llvm import llvm_config
77
from lit.llvm.subst import ToolSubst, FindTool
88

9-
def shjoin(args, sep=' '):
9+
10+
def shjoin(args, sep=" "):
1011
return sep.join([shlex.quote(arg) for arg in args])
1112

13+
1214
# Configuration file for the 'lit' test runner.
1315

1416
# name: The name of this test suite.
@@ -78,11 +80,7 @@ def shjoin(args, sep=' '):
7880
extra_args=isysroot_flag,
7981
unresolved="fatal",
8082
),
81-
ToolSubst("%cc",
82-
command=config.cc,
83-
extra_args=isysroot_flag,
84-
unresolved="fatal"
85-
),
83+
ToolSubst("%cc", command=config.cc, extra_args=isysroot_flag, unresolved="fatal"),
8684
]
8785
llvm_config.add_tool_substitutions(tools)
8886

@@ -102,5 +100,5 @@ def shjoin(args, sep=' '):
102100
# Additional library depedendencies the that flang driver does not add itself.
103101
deplibs = []
104102
if config.flang_rt_experimental_offload_support == "CUDA":
105-
deplibs.append('-lcudart')
103+
deplibs.append("-lcudart")
106104
config.substitutions.append(("%deplibs", shjoin(deplibs)))

0 commit comments

Comments
 (0)