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

This commit is contained in:
Fabian Affolter
2024-12-15 12:16:56 +01:00
parent f79b3ad0b7
commit 54beae6be3
@@ -5,6 +5,7 @@
fetchFromGitHub,
home-assistant-bluetooth,
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=tilt_ble --cov-report=term-missing:skip-covered" ""
'';
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "tilt_ble" ];