Skip to content

Commit

Permalink
nbqa: 1.8.7 -> 1.9.0 (#337735)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Aug 27, 2024
2 parents 5faefcd + 7b92e73 commit f7439a0
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
{ black
, blacken-docs
, fetchFromGitHub
, lib
, python3
, ruff
{
lib,
python3,
fetchFromGitHub,

# optional-dependencies
black,
blacken-docs,
ruff,

# passthru
testers,
nbqa,
}:
python3.pkgs.buildPythonApplication rec {
pname = "nbqa";
version = "1.8.7";
version = "1.9.0";
pyproject = true;

src = fetchFromGitHub {
owner = "nbQA-dev";
repo = "nbQA";
rev = "refs/tags/${version}";
hash = "sha256-zn+e/svaxeJU9P1sIaRrVuKW0+FM0GLKZTUx3PfuThk=";
hash = "sha256-9s+q2unh+jezU0Er7ZH0tvgntmPFts9OmsgAMeQXRrY=";
};

build-system = with python3.pkgs; [
Expand All @@ -33,7 +40,8 @@ python3.pkgs.buildPythonApplication rec {
ruff = [ ruff ];
};

dependencies = with python3.pkgs;
dependencies =
with python3.pkgs;
[
autopep8
ipython
Expand Down Expand Up @@ -90,6 +98,12 @@ python3.pkgs.buildPythonApplication rec {
"tests/test_include_exclude.py"
];

passthru = {
tests.version = testers.testVersion {
package = nbqa;
};
};

meta = {
homepage = "https://github.com/nbQA-dev/nbQA";
changelog = "https://nbqa.readthedocs.io/en/latest/history.html";
Expand Down
2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10656,8 +10656,6 @@ with pkgs;

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

nbqa = callPackage ../tools/misc/nbqa { };

kb = callPackage ../tools/misc/kb { };

notable = callPackage ../applications/misc/notable { };
Expand Down

0 comments on commit f7439a0

Please sign in to comment.