nixos-test-driver: reformat with latest ruff

This commit is contained in:
Gaetan Lepage 2025-01-09 15:43:10 +01:00
parent cb663ae81e
commit 8711bcf71a
2 changed files with 2 additions and 3 deletions

View file

@ -145,7 +145,7 @@ def main() -> None:
tic = time.time()
driver.run_tests()
toc = time.time()
logger.info(f"test script finished in {(toc-tic):.2f}s")
logger.info(f"test script finished in {(toc - tic):.2f}s")
def generate_driver_symbols() -> None:

View file

@ -702,8 +702,7 @@ class Machine:
def get_tty_text(self, tty: str) -> str:
status, output = self.execute(
f"fold -w$(stty -F /dev/tty{tty} size | "
f"awk '{{print $2}}') /dev/vcs{tty}"
f"fold -w$(stty -F /dev/tty{tty} size | awk '{{print $2}}') /dev/vcs{tty}"
)
return output