summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/robotframework-pythonlibcore
diff options
context:
space:
mode:
authorMatt Sturgeon <matt@sturgeon.me.uk>2025-10-24 07:15:22 +0100
committerMatt Sturgeon <matt@sturgeon.me.uk>2025-10-24 07:26:03 +0100
commite92214c3a47111a34063c474d92a210372e9e8bf (patch)
treea9db096ee8fa277c64cc2c3017ca5247ab364609 /pkgs/development/python-modules/robotframework-pythonlibcore
parentcab0f8f3a1931d596f156144e471bab1608815df (diff)
top-level: use parentheses to group checks
Group `throwIfNot` chains with parentheses to improve readability and hint to nixfmt the intended formatting. This makes the result visually closer to the pre-nixfmt layout: checked = throwIfNot (lib.isList overlays) "The overlays argument to nixpkgs must be a list." lib.foldr (x: throwIfNot (lib.isFunction x) "All overlays passed to nixpkgs must be functions.") (r: r) overlays throwIfNot (lib.isList crossOverlays) "The crossOverlays argument to nixpkgs must be a list." lib.foldr (x: throwIfNot (lib.isFunction x) "All crossOverlays passed to nixpkgs must be functions.") (r: r) crossOverlays ;
Diffstat (limited to 'pkgs/development/python-modules/robotframework-pythonlibcore')
0 files changed, 0 insertions, 0 deletions