From 74ab69e41091b3e49506ae56c04aa04b306aec28 Mon Sep 17 00:00:00 2001 From: Bastian Krause Date: Fri, 10 Jan 2025 17:31:53 +0100 Subject: [PATCH] remote/exporter: apply ruff format fixes This change is caused by updating ruff 0.8.6 -> 0.9.0. The changelog reads: "Ruff now formats your code according to the 2025 style guide. As a result, your code might now get formatted differently. See the formatter section for a detailed list of changes." [1] [1] https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md Signed-off-by: Bastian Krause --- labgrid/remote/exporter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/labgrid/remote/exporter.py b/labgrid/remote/exporter.py index 294686b6c..7831ef8a7 100755 --- a/labgrid/remote/exporter.py +++ b/labgrid/remote/exporter.py @@ -249,7 +249,7 @@ def _start(self, start_params): "-Y", f"connection: &con01# accepter: telnet(rfc2217,mode=server),tcp,{self.port}", "-Y", - f' connector: serialdev(nouucplock=true),{start_params["path"]},{self.local.speed}n81,local', # pylint: disable=line-too-long + f" connector: serialdev(nouucplock=true),{start_params['path']},{self.local.speed}n81,local", # pylint: disable=line-too-long "-Y", " options:", "-Y", @@ -262,7 +262,7 @@ def _start(self, start_params): "-n", "-u", "-C", - f'{self.port}:telnet:0:{start_params["path"]}:{self.local.speed} NONE 8DATABITS 1STOPBIT LOCAL', # pylint: disable=line-too-long + f"{self.port}:telnet:0:{start_params['path']}:{self.local.speed} NONE 8DATABITS 1STOPBIT LOCAL", # pylint: disable=line-too-long ] self.logger.info("Starting ser2net with: %s", " ".join(cmd)) self.child = subprocess.Popen(cmd)