From 15c2ad2d40c2f0e2cd30639d8f7497b3b8c79a69 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sat, 22 Nov 2025 14:52:23 +0100 Subject: [PATCH] Manually apply ruff/flake8-implicit-str-concat rule ISC002 ISC002 Implicitly concatenated string literals over multiple lines --- testing/cffi0/test_ownlib.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testing/cffi0/test_ownlib.py b/testing/cffi0/test_ownlib.py index af52f766..d1856819 100644 --- a/testing/cffi0/test_ownlib.py +++ b/testing/cffi0/test_ownlib.py @@ -156,8 +156,7 @@ def setup_class(cls): if sys.maxsize > 2**32: arch = 'amd64' if os.path.isfile(vcvarsall): - cmd = '"%s" %s' % (vcvarsall, arch) + ' & cl.exe testownlib.c ' \ - ' /LD /Fetestownlib.dll' + cmd = f'"{vcvarsall}" {arch} & cl.exe testownlib.c /LD /Fetestownlib.dll' subprocess.check_call(cmd, cwd = str(udir), shell=True) os.rename(f"{udir}\\testownlib.dll", dll_path) cls.module = dll_path