mypy/grub

This commit is contained in:
Marc Beninca 2024-09-14 00:17:17 +02:00
parent 68cbe3cd88
commit d4d6098241
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -25,8 +25,8 @@ def make_image(
pubkey_path: str | None = None, pubkey_path: str | None = None,
) -> None: ) -> None:
"""Make a binary bootable image.""" """Make a binary bootable image."""
args = [ args: list[str | tuple[str, ...]] = [
("grub-mkimage",), "grub-mkimage",
("--compress", COMPRESSION), ("--compress", COMPRESSION),
("--format", image_format), ("--format", image_format),
("--output", image_path), ("--output", image_path),