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

This commit is contained in:
Fabian Affolter
2024-12-15 13:38:02 +01:00
parent 61f4b49af3
commit fcd66de405
@@ -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=moat_ble --cov-report=term-missing:skip-covered" ""
'';
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "moat_ble" ];