pmb.qemu.run: Remove FIXME and type ignore stuff from command_qemu() (MR 2522)

This was probably fixed by 225d8b30a0 as
it added an Env type hint to the env variable. Either way, the mypy
check passes evenn with this removed now.
This commit is contained in:
Newbyte 2025-01-07 11:08:42 +01:00 committed by Oliver Smith
parent a84b3eb4d2
commit 78cddc90f1
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -164,13 +164,12 @@ def command_qemu(
if "gtk" in args.qemu_display:
gdk_cache = create_gdk_loader_cache(args)
# FIXME: why does mypy think the values here should all be paths??
env.update(
{
"GTK_THEME": "Default", # type: ignore[dict-item]
"GDK_PIXBUF_MODULE_FILE": str(gdk_cache), # type: ignore[dict-item]
"GTK_THEME": "Default",
"GDK_PIXBUF_MODULE_FILE": str(gdk_cache),
"XDG_DATA_DIRS": ":".join(
[ # type: ignore[dict-item]
[
str(chroot_native / "usr/local/share"),
str(chroot_native / "usr/share"),
]