python312Packages.bluemaestro-ble: migrate to pytest-cov-stub

This commit is contained in:
Fabian Affolter
2024-12-15 12:08:14 +01:00
parent e11fe5a933
commit 66fd6878e3
@@ -5,6 +5,7 @@
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
sensor-state-data,
@@ -32,12 +33,10 @@ buildPythonPackage rec {
sensor-state-data
];
nativeCheckInputs = [ pytestCheckHook ];
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=bluemaestro_ble --cov-report=term-missing:skip-covered" ""
'';
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "bluemaestro_ble" ];