mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-05 12:34:00 +00:00
python311Packages.justext: migate to pytest-cov-stub
This commit is contained in:
parent
2246da96f4
commit
07bbd20de4
@ -3,6 +3,7 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
pytest-cov-stub,
|
||||
lxml,
|
||||
lxml-html-clean,
|
||||
}:
|
||||
@ -24,13 +25,10 @@ buildPythonPackage rec {
|
||||
lxml-html-clean
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
# patch out coverage report
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace-fail " --cov=justext --cov-report=term-missing --no-cov-on-fail" ""
|
||||
'';
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "justext" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user