this derivation will be built: /nix/store/1pddjzjibx3iy1nqm15idmj5436zg1qc-treefmt-check.drv building '/nix/store/1pddjzjibx3iy1nqm15idmj5436zg1qc-treefmt-check.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/1pddjzjibx3iy1nqm15idmj5436zg1qc-treefmt-check.drv' treefmt-check> treefmt v2.5.0traversed 199 files treefmt-check> emitted 114 files for processing treefmt-check> formatted 114 files (1 changed) in 3.283s treefmt-check> M packages/harvest-invoicer/tests/test_i18n.py treefmt-check> diff --git a/packages/harvest-invoicer/tests/test_i18n.py b/packages/harvest-invoicer/tests/test_i18n.py treefmt-check> index 1e106ef..e93ce6e 100644 treefmt-check> --- a/packages/harvest-invoicer/tests/test_i18n.py treefmt-check> +++ b/packages/harvest-invoicer/tests/test_i18n.py treefmt-check> @@ -121,7 +121,9 @@ def test_html_lang_attribute_matches_invoice_language() -> None: treefmt-check> def test_tax_id_label_map_localizes_per_language() -> None: treefmt-check> """A per-language tax_id_label map picks the entry for the invoice language.""" treefmt-check> label_map = {"es": "Identificador fiscal", "en": "Tax reference"} treefmt-check> - es = render_html(_invoice(), _issuer(), _client(language="es", tax_id_label=label_map)) treefmt-check> + es = render_html( treefmt-check> + _invoice(), _issuer(), _client(language="es", tax_id_label=label_map) treefmt-check> + ) treefmt-check> assert "Identificador fiscal" in es treefmt-check> assert "Tax reference" not in es treefmt-check> # The Spanish override must NOT leak into an English invoice. error: build of '/nix/store/1pddjzjibx3iy1nqm15idmj5436zg1qc-treefmt-check.drv' on 'ssh-ng://customer@mac02.m.ntd.one' failed: Cannot build '/nix/store/1pddjzjibx3iy1nqm15idmj5436zg1qc-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/6a5kc80jqahayayw5lcg8vpd1ah5rixs-treefmt-check Last 19 log lines: > treefmt v2.5.0traversed 199 files > emitted 114 files for processing > formatted 114 files (1 changed) in 3.283s > M packages/harvest-invoicer/tests/test_i18n.py > diff --git a/packages/harvest-invoicer/tests/test_i18n.py b/packages/harvest-invoicer/tests/test_i18n.py > index 1e106ef..e93ce6e 100644 > --- a/packages/harvest-invoicer/tests/test_i18n.py > +++ b/packages/harvest-invoicer/tests/test_i18n.py > @@ -121,7 +121,9 @@ def test_html_lang_attribute_matches_invoice_language() -> None: > def test_tax_id_label_map_localizes_per_language() -> None: > """A per-language tax_id_label map picks the entry for the invoice language.""" > label_map = {"es": "Identificador fiscal", "en": "Tax reference"} > - es = render_html(_invoice(), _issuer(), _client(language="es", tax_id_label=label_map)) > + es = render_html( > + _invoice(), _issuer(), _client(language="es", tax_id_label=label_map) > + ) > assert "Identificador fiscal" in es > assert "Tax reference" not in es > # The Spanish override must NOT leak into an English invoice. For full logs, run: nix log /nix/store/1pddjzjibx3iy1nqm15idmj5436zg1qc-treefmt-check.drv error: Cannot build '/nix/store/1pddjzjibx3iy1nqm15idmj5436zg1qc-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/6a5kc80jqahayayw5lcg8vpd1ah5rixs-treefmt-check