python3Packages.pytest-black: init at 0.3.7

This commit is contained in:
Jonathan Ringer 2019-10-26 14:53:27 -07:00 committed by Frederik Rietdijk
parent 48091cc043
commit 3b4bdf3f38
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib, buildPythonPackage, fetchPypi
, black
, pytest
, setuptools_scm
, toml
}:
buildPythonPackage rec {
pname = "pytest-black";
version = "0.3.7";
src = fetchPypi {
inherit pname version;
sha256 = "03gwwy1h3qnfh6vpfhgsa5ag53a9sw1g42sc2s8a2hilwb7yrfvm";
};
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ black pytest toml ];
meta = with lib; {
description = "A pytest plugin to enable format checking with black";
homepage = "https://github.com/shopkeep/pytest-black";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}

View File

@ -1083,6 +1083,8 @@ in {
pytesseract = callPackage ../development/python-modules/pytesseract { };
pytest-black = callPackage ../development/python-modules/pytest-black { };
pytest-click = callPackage ../development/python-modules/pytest-click { };
pytest-check = callPackage ../development/python-modules/pytest-check { };