luddite: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt 2025-06-02 05:56:20 +02:00
parent cf0353ac1e
commit cdd5740b0d

View file

@ -5,6 +5,7 @@
setuptools, setuptools,
packaging, packaging,
pytestCheckHook, pytestCheckHook,
pytest-cov-stub,
pytest-mock, pytest-mock,
}: }:
@ -22,7 +23,6 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
substituteInPlace pytest.ini \ substituteInPlace pytest.ini \
--replace "--cov=luddite --cov-report=html --cov-report=term --no-cov-on-fail" "" \
--replace "--disable-socket" "" --replace "--disable-socket" ""
''; '';
@ -34,6 +34,7 @@ buildPythonPackage rec {
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
pytest-cov-stub
pytest-mock pytest-mock
]; ];