mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
nixos-test-driver: reformat with latest ruff
This commit is contained in:
parent
cb663ae81e
commit
8711bcf71a
2 changed files with 2 additions and 3 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue