summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-lsp-ruff/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/python-lsp-ruff/default.nix')
-rw-r--r--pkgs/development/python-modules/python-lsp-ruff/default.nix29
1 files changed, 13 insertions, 16 deletions
diff --git a/pkgs/development/python-modules/python-lsp-ruff/default.nix b/pkgs/development/python-modules/python-lsp-ruff/default.nix
index 3a208e608920..9b10cc6eb8e6 100644
--- a/pkgs/development/python-modules/python-lsp-ruff/default.nix
+++ b/pkgs/development/python-modules/python-lsp-ruff/default.nix
@@ -1,13 +1,14 @@
-{ lib
-, pythonOlder
-, buildPythonPackage
-, fetchPypi
-, ruff
-, cattrs
-, lsprotocol
-, python-lsp-server
-, tomli
-, pytestCheckHook
+{
+ lib,
+ pythonOlder,
+ buildPythonPackage,
+ fetchPypi,
+ ruff,
+ cattrs,
+ lsprotocol,
+ python-lsp-server,
+ tomli,
+ pytestCheckHook,
}:
buildPythonPackage rec {
@@ -35,13 +36,9 @@ buildPythonPackage rec {
cattrs
lsprotocol
python-lsp-server
- ] ++ lib.optionals (pythonOlder "3.11") [
- tomli
- ];
+ ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
- nativeCheckInputs = [
- pytestCheckHook
- ];
+ nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
homepage = "https://github.com/python-lsp/python-lsp-ruff";