forked from Mirror/pmbootstrap
pmb: Add more type hints (MR 2490)
This commit is contained in:
parent
206ba62417
commit
5ed5817e80
36 changed files with 174 additions and 120 deletions
|
@ -7,7 +7,8 @@ import pmb.config
|
|||
# Return: {magic: ..., mask: ...}
|
||||
|
||||
|
||||
def binfmt_info(arch_qemu):
|
||||
# FIXME: Maybe this should use Arch instead of str.
|
||||
def binfmt_info(arch_qemu: str) -> dict[str, str]:
|
||||
# Parse the info file
|
||||
full = {}
|
||||
info = pmb.config.pmb_src / "pmb/data/qemu-user-binfmt.txt"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue