ruff: add ruff-lsp to passthru.tests
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user