Skip to content

Commit

Permalink
remote/exporter: apply ruff format fixes
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Bastian-Krause committed Jan 10, 2025
1 parent 3818269 commit 74ab69e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions labgrid/remote/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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)
Expand Down

0 comments on commit 74ab69e

Please sign in to comment.