Skip to content

Commit 1945700

Browse files
DimitriPapadopoulosmattip
authored andcommitted
Manually apply ruff/flake8-implicit-str-concat rule ISC002
ISC002 Implicitly concatenated string literals over multiple lines
1 parent 170415c commit 1945700

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

testing/cffi0/test_ownlib.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,7 @@ def setup_class(cls):
156156
if sys.maxsize > 2**32:
157157
arch = 'amd64'
158158
if os.path.isfile(vcvarsall):
159-
cmd = '"%s" %s' % (vcvarsall, arch) + ' & cl.exe testownlib.c ' \
160-
' /LD /Fetestownlib.dll'
159+
cmd = f'"{vcvarsall}" {arch} & cl.exe testownlib.c /LD /Fetestownlib.dll'
161160
subprocess.check_call(cmd, cwd = str(udir), shell=True)
162161
os.rename(f"{udir}\\testownlib.dll", dll_path)
163162
cls.module = dll_path

0 commit comments

Comments
 (0)