feedback from PR review.

This commit is contained in:
Daniel Baker 2022-10-27 21:58:35 +02:00
parent c57312027c
commit cd4b365002

View File

@ -1,15 +1,15 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
nbformat,
nbclient,
ipykernel,
pandas,
pytest,
traitlets,
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, nbformat
, nbclient
, ipykernel
, pandas
, pytestCheckHook
, traitlets
}:
buildPythonPackage rec {
pname = "testbook";
version = "0.4.2";
@ -32,16 +32,18 @@ buildPythonPackage rec {
checkInputs = [
ipykernel
pandas
pytest
pytestCheckHook
traitlets
];
checkPhase = "pytest";
pythonImportsCheck = [
"testbook"
];
meta = with lib; {
description = "A unit testing framework extension for testing code in Jupyter Notebooks";
homepage = "https://testbook.readthedocs.io/";
license = with licenses; [bsd3];
maintainers = with maintainers; [djacu];
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ djacu ];
};
}