Skip to content

Commit

Permalink
Fix ruff format check parameter
Browse files Browse the repository at this point in the history
The old way of calling ruff was deprecated and later removed
  • Loading branch information
patka-123 committed Sep 28, 2024
1 parent 8dc8048 commit 7b823c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion treefmt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
options = [
"-eucx"
''
${lib.getExe pkgs.ruff} --fix "$@"
${lib.getExe pkgs.ruff} check "$@"
${lib.getExe pkgs.ruff} format "$@"
''
"--" # this argument is ignored by bash
Expand Down

0 comments on commit 7b823c2

Please sign in to comment.