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

This commit is contained in:
Fabian Affolter
2024-12-15 12:22:21 +01:00
parent bcb8ca139a
commit 74bd4b9fe6
@@ -6,6 +6,7 @@
fetchFromGitHub,
home-assistant-bluetooth,
poetry-core,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
sensor-state-data,
@@ -25,11 +26,6 @@ buildPythonPackage rec {
hash = "sha256-w21paR1VTV/ZFnl9SKkJmFFDZMPgA3d7P6blceVvnVk=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail " --cov=govee_ble --cov-report=term-missing:skip-covered" ""
'';
build-system = [ poetry-core ];
dependencies = [
@@ -39,7 +35,10 @@ buildPythonPackage rec {
sensor-state-data
];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "govee_ble" ];