From 10a12eb85c06e541af3d2492c8327b94b826abb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 26 Mar 2024 12:45:26 +0100 Subject: [PATCH] ruff: switch to check subcommand --- formatter.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formatter.nix b/formatter.nix index 1e2e1c35..fc884fef 100644 --- a/formatter.nix +++ b/formatter.nix @@ -37,7 +37,7 @@ options = [ "-eucx" '' - ${lib.getExe pkgs.ruff} --fix "$@" + ${lib.getExe pkgs.ruff} check --fix "$@" ${lib.getExe pkgs.ruff} format "$@" '' "--" # this argument is ignored by bash