From 285dca8f4a4052129815730ad778d93d9354a117 Mon Sep 17 00:00:00 2001 From: cswimr Date: Thu, 12 Dec 2024 11:52:15 -0500 Subject: [PATCH] install `ruff` and `ruff-lsp` --- home-manager/vscode.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home-manager/vscode.nix b/home-manager/vscode.nix index f5c4508..0cb8cfb 100644 --- a/home-manager/vscode.nix +++ b/home-manager/vscode.nix @@ -28,6 +28,11 @@ rec { ''; }; + home.packages = with pkgs; [ + ruff + ruff-lsp + ]; + programs.vscode = { enable = true; enableUpdateCheck = false; @@ -273,6 +278,7 @@ rec { "source.organizeImports" = "explicit"; }; }; + "ruff.path" = [ "${pkgs.ruff}/bin/ruff" ]; "python.terminal.activateEnvironment" = false; "python.terminal.activateEnvInCurrentTerminal" = false; "[csharp]" = {