Skip to content

Commit f7439a0

Browse files
authored
nbqa: 1.8.7 -> 1.9.0 (#337735)
2 parents 5faefcd + 7b92e73 commit f7439a0

File tree

2 files changed

+23
-11
lines changed

2 files changed

+23
-11
lines changed

pkgs/tools/misc/nbqa/default.nix renamed to pkgs/by-name/nb/nbqa/package.nix

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,27 @@
1-
{ black
2-
, blacken-docs
3-
, fetchFromGitHub
4-
, lib
5-
, python3
6-
, ruff
1+
{
2+
lib,
3+
python3,
4+
fetchFromGitHub,
5+
6+
# optional-dependencies
7+
black,
8+
blacken-docs,
9+
ruff,
10+
11+
# passthru
12+
testers,
13+
nbqa,
714
}:
815
python3.pkgs.buildPythonApplication rec {
916
pname = "nbqa";
10-
version = "1.8.7";
17+
version = "1.9.0";
1118
pyproject = true;
1219

1320
src = fetchFromGitHub {
1421
owner = "nbQA-dev";
1522
repo = "nbQA";
1623
rev = "refs/tags/${version}";
17-
hash = "sha256-zn+e/svaxeJU9P1sIaRrVuKW0+FM0GLKZTUx3PfuThk=";
24+
hash = "sha256-9s+q2unh+jezU0Er7ZH0tvgntmPFts9OmsgAMeQXRrY=";
1825
};
1926

2027
build-system = with python3.pkgs; [
@@ -33,7 +40,8 @@ python3.pkgs.buildPythonApplication rec {
3340
ruff = [ ruff ];
3441
};
3542

36-
dependencies = with python3.pkgs;
43+
dependencies =
44+
with python3.pkgs;
3745
[
3846
autopep8
3947
ipython
@@ -90,6 +98,12 @@ python3.pkgs.buildPythonApplication rec {
9098
"tests/test_include_exclude.py"
9199
];
92100

101+
passthru = {
102+
tests.version = testers.testVersion {
103+
package = nbqa;
104+
};
105+
};
106+
93107
meta = {
94108
homepage = "https://github.com/nbQA-dev/nbQA";
95109
changelog = "https://nbqa.readthedocs.io/en/latest/history.html";

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10656,8 +10656,6 @@ with pkgs;
1065610656

1065710657
nb = callPackage ../tools/misc/nb { };
1065810658

10659-
nbqa = callPackage ../tools/misc/nbqa { };
10660-
1066110659
kb = callPackage ../tools/misc/kb { };
1066210660

1066310661
notable = callPackage ../applications/misc/notable { };

0 commit comments

Comments
 (0)