From 422484cf2eba3919e03f66e72c270dd8d3b7716f Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Tue, 28 Apr 2026 15:46:49 +0200 Subject: [PATCH 1/2] Apply ruff/flake8-implicit-str-concat rule ISC003 Explicitly concatenated string should be implicitly concatenated --- devices/linux/Files/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/linux/Files/main.py b/devices/linux/Files/main.py index 86460a5a1..0dd9639ce 100755 --- a/devices/linux/Files/main.py +++ b/devices/linux/Files/main.py @@ -82,7 +82,7 @@ parser.add_argument("--iwd_conf", action='store_true', dest='iwd_conf', help='generate iwd config file without configuring the system') parser.add_argument("--gui", action='store', dest='gui', - help='one of: tty, tkinter, zenity, kdialog, yad - use this GUI ' + \ + help='one of: tty, tkinter, zenity, kdialog, yad - use this GUI ' 'system if present, falling back to standard choice if not') ARGS = parser.parse_args() if ARGS.debug: From 8d91c73f305c5ccde01f1eff0967cdc90b804d6a Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Tue, 28 Apr 2026 15:46:10 +0200 Subject: [PATCH 2/2] Apply Ruff-specific rule RUF059 Unpacked variable is never used --- devices/linux/Files/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/linux/Files/main.py b/devices/linux/Files/main.py index 0dd9639ce..259a4051a 100755 --- a/devices/linux/Files/main.py +++ b/devices/linux/Files/main.py @@ -765,7 +765,7 @@ def __process_p12(self) -> bool: 'pass:' + self.password, '-nokeys', '-clcerts'] shell_command1 = subprocess.Popen(command1, stdout=subprocess.PIPE, stderr=subprocess.PIPE) - out, err = shell_command1.communicate() + out, _err = shell_command1.communicate() if shell_command1.returncode != 0: return False if Config.use_other_tls_id: