mirror of
https://github.com/xcp-ng/xcp.git
synced 2026-12-05 18:08:08 +00:00
Introduce PackageInfo TypedDict for all package data structures Replace all dict[str, dict[str, Any]] with dict[str, PackageInfo] and use PackageInfo | None for base_version throughout the file. Introduce Packages type alias for dict[str, PackageInfo] Replace all dict[str, PackageInfo] occurrences with the new Packages type alias for shorter, cleaner annotations. Fix flake8 E501 line-too-long errors - Split long print() call across multiple lines - Split long lines.append() call across multiple lines - Split do_list_update() def signature across two lines Signed-off-by: Philippe Coval <philippe.coval@vates.tech>