From 7b92e73b2fafec3c81c983207f152e68aa1e7872 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 27 Aug 2024 17:34:25 +0200 Subject: [PATCH] nbqa: format with nixfmt --- pkgs/by-name/nb/nbqa/package.nix | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/nb/nbqa/package.nix b/pkgs/by-name/nb/nbqa/package.nix index 0165a2184196..f4b1a8fdf527 100644 --- a/pkgs/by-name/nb/nbqa/package.nix +++ b/pkgs/by-name/nb/nbqa/package.nix @@ -1,11 +1,16 @@ -{ black -, blacken-docs -, fetchFromGitHub -, lib -, python3 -, ruff -, testers -, nbqa +{ + lib, + python3, + fetchFromGitHub, + + # optional-dependencies + black, + blacken-docs, + ruff, + + # passthru + testers, + nbqa, }: python3.pkgs.buildPythonApplication rec { pname = "nbqa"; @@ -35,7 +40,8 @@ python3.pkgs.buildPythonApplication rec { ruff = [ ruff ]; }; - dependencies = with python3.pkgs; + dependencies = + with python3.pkgs; [ autopep8 ipython