refactor: one type-checking block per alias

This commit is contained in:
Abdessamad Derraz committed 2026-11-18 13:46:15 +01:00
1 parent 18e91f8c07
commit 4d4052a8ab
1 file changed
+3
+3
View File
@@ -200,9 +200,12 @@ from packresolve import (
if TYPE_CHECKING:
from typing_extensions import Unpack
if TYPE_CHECKING:
# How a manifest settles a platform declaration: the copy served, or None
# and why not.
_Settle = Callable[[dict, str, str, "str | None"], "tuple[str | None, str]"]
if TYPE_CHECKING:
# What a destination came to: its entries, whether it was filled, and the
# report to make if no other member of its set fills it.
_Outcome = tuple[list[dict], bool, "Callable[[], None] | None"]