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

This commit is contained in:
Fabian Affolter
2024-12-15 11:21:02 +01:00
parent e104c2fc1a
commit 82b2ac13af
@@ -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=thermopro_ble --cov-report=term-missing:skip-covered" ""
'';
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "thermopro_ble" ];