1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-22 19:09:42 +01:00

test/run: format file and remove unused variable

This commit is contained in:
Jörg Thalheim 2024-09-21 09:47:28 +02:00 committed by mergify[bot]
parent 10d5e0ecc3
commit d64ae01653

View file

@ -3,7 +3,6 @@
import argparse
import json
import multiprocessing
import re
import shlex
import subprocess
import sys
@ -17,9 +16,6 @@ GREEN = "\033[92m"
RED = "\033[91m"
RESET = "\033[0m"
re_nixos_hardware = re.compile(r"<nixos-hardware/([^>]+)>")
def parse_args() -> argparse.Namespace:
parser = argparse.ArgumentParser(description="Run hardware tests")
parser.add_argument(
@ -60,7 +56,7 @@ def run_eval_test(nixos_hardware: str, gcroot_dir: Path, jobs: int) -> list[str]
str(TEST_ROOT) + "#checks",
"--force-recurse",
]
print(" ".join(map(shlex.quote,cmd)))
print(" ".join(map(shlex.quote, cmd)))
proc = subprocess.Popen(
cmd,
stdout=subprocess.PIPE,