ruff: switch to check subcommand

This commit is contained in:
Jörg Thalheim 2024-03-26 12:45:26 +01:00
parent c5db14dea8
commit 10a12eb85c

View File

@ -37,7 +37,7 @@
options = [ options = [
"-eucx" "-eucx"
'' ''
${lib.getExe pkgs.ruff} --fix "$@" ${lib.getExe pkgs.ruff} check --fix "$@"
${lib.getExe pkgs.ruff} format "$@" ${lib.getExe pkgs.ruff} format "$@"
'' ''
"--" # this argument is ignored by bash "--" # this argument is ignored by bash