python312Packages.ruuvitag-ble: migrate to pytest-cov-stub
This commit is contained in:
@@ -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" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user