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

This commit is contained in:
Fabian Affolter
2024-12-15 11:55:04 +01:00
parent bf389406c8
commit f8b6887e50
@@ -6,6 +6,7 @@
fetchFromGitHub,
hatchling,
home-assistant-bluetooth,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
sensor-state-data,
@@ -34,12 +35,10 @@ buildPythonPackage rec {
sensor-state-data
];
nativeCheckInputs = [ pytestCheckHook ];
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=ruuvitag_ble --cov-report=term-missing:skip-covered" ""
'';
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "ruuvitag_ble" ];