From ecf832681c79e9852b474cfa270c1f8d06891959 Mon Sep 17 00:00:00 2001 From: Thales Menato <8753631+thamenato@users.noreply.github.com> Date: Tue, 14 Jan 2025 21:23:11 -0500 Subject: [PATCH] fix: ruff command feat: add ruff ruff --- modules/plugins/languages/python.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/plugins/languages/python.nix b/modules/plugins/languages/python.nix index 876093c0..a36e174f 100644 --- a/modules/plugins/languages/python.nix +++ b/modules/plugins/languages/python.nix @@ -108,7 +108,13 @@ }; ruff = { - package = pkgs.ruff; + package = pkgs.writeShellApplication { + name = "ruff"; + runtimeInputs = [pkgs.ruff]; + text = '' + ruff format - + ''; + }; nullConfig = '' table.insert( ls_sources,