1this derivation will be built:2 /nix/store/3dd7r9qhky4nia1k9nqvnlr44mcqivkz-treefmt-check.drv3building '/nix/store/3dd7r9qhky4nia1k9nqvnlr44mcqivkz-treefmt-check.drv'4treefmt-check> treefmt v2.5.0ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 15treefmt-check> 6treefmt-check> TRY300 Consider moving this statement to an `else` block7treefmt-check> --> nix_update/options.py:124:98treefmt-check> |9treefmt-check> 122 | if dir_params:10treefmt-check> 123 | path = str(Path(path) / dir_params[0])11treefmt-check> 124 | return path12treefmt-check> | ^^^^^^^^^^^13treefmt-check> 125 | except (subprocess.CalledProcessError, json.JSONDecodeError, KeyError):14treefmt-check> 126 | return None15treefmt-check> |16treefmt-check> 17treefmt-check> Found 6 errors (5 fixed, 1 remaining).18treefmt-check> 19treefmt-check> traversed 152 files20treefmt-check> emitted 137 files for processing21treefmt-check> formatted 64 files (1 changed) in 185ms22treefmt-check> Error: failed to finalise formatting: formatting failures detected23error: Cannot build '/nix/store/3dd7r9qhky4nia1k9nqvnlr44mcqivkz-treefmt-check.drv'.24 Reason: builder failed with exit code 1.25 Output paths:26 /nix/store/sm1k6qq41l82pw54swfwilr5vv6wxala-treefmt-check27 Last 19 log lines:28 > treefmt v2.5.0ERRO formatter | ruff-check: failed to apply with options '[check --fix]': exit status 129 >30 > TRY300 Consider moving this statement to an `else` block31 > --> nix_update/options.py:124:932 > |33 > 122 | if dir_params:34 > 123 | path = str(Path(path) / dir_params[0])35 > 124 | return path36 > | ^^^^^^^^^^^37 > 125 | except (subprocess.CalledProcessError, json.JSONDecodeError, KeyError):38 > 126 | return None39 > |40 >41 > Found 6 errors (5 fixed, 1 remaining).42 >43 > traversed 152 files44 > emitted 137 files for processing45 > formatted 64 files (1 changed) in 185ms46 > Error: failed to finalise formatting: formatting failures detected47 For full logs, run:48 nix log /nix/store/3dd7r9qhky4nia1k9nqvnlr44mcqivkz-treefmt-check.drv