ruff: add ruff-lsp to passthru.tests

This commit is contained in:
Konstantin Alekseev
2023-05-15 14:16:12 +03:00
parent 80c0a5deb9
commit 3c63d74009
2 changed files with 9 additions and 1 deletions
+6
View File
@@ -5,6 +5,8 @@
, installShellFiles
, stdenv
, darwin
# tests
, ruff-lsp
}:
rustPlatform.buildRustPackage rec {
@@ -64,6 +66,10 @@ rustPlatform.buildRustPackage rec {
--zsh <($out/bin/ruff generate-shell-completion zsh)
'';
passthru.tests = {
inherit ruff-lsp;
};
meta = with lib; {
description = "An extremely fast Python linter";
homepage = "https://github.com/charliermarsh/ruff";
+3 -1
View File
@@ -39236,7 +39236,9 @@ with pkgs;
rucksack = callPackage ../development/tools/rucksack { };
ruff = callPackage ../development/tools/ruff { };
ruff = callPackage ../development/tools/ruff {
inherit (python3.pkgs) ruff-lsp;
};
sam-ba = callPackage ../tools/misc/sam-ba { };