Coverage for src/romfarmer/ir/chain.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.15.4, created at 2026-09-05 02:19 -0700

1"""FormatChain — the negotiated output-format chain for one platform. 

2 

3An ordered tuple of lowercase format-step names, e.g. ``("chd",)``, 

4``("xiso", "squashfs")``, ``("7z",)``, ``("passthrough",)``. It is decided 

5at RESOLVE (recipe ∩ target-profile preferences), carried on the 

6``BuildManifest``, and consumed by the lowering rules. 

7 

8Lives in ``ir`` so that both PLAN (lowering) and EMIT (target profiles) can 

9name the type without either importing the other. 

10""" 

11 

12from __future__ import annotations 

13 

14FormatChain = tuple[str, ...] 

15 

16__all__ = ["FormatChain"]