buildPython*: move the format'-related assertion down to its value

This commit is contained in:
Yueh-Shun Li
2025-01-24 21:04:31 +08:00
parent d6a757bb01
commit 617bc74413
@@ -205,10 +205,9 @@ in
...
}@attrs:
assert (pyproject != null) -> (format == null);
let
format' =
assert (pyproject != null) -> (format == null);
if pyproject != null then
if pyproject then "pyproject" else "other"
else if format != null then