python311Packages.aiohttp-remotes: migate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt
2024-08-06 23:36:25 +02:00
parent 7e860bf43a
commit 205d47cc14

View File

@@ -5,6 +5,7 @@
fetchPypi,
flit,
pytest-aiohttp,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
typing-extensions,
@@ -29,14 +30,10 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytest-aiohttp
pytest-cov-stub
pytestCheckHook
];
postPatch = ''
substituteInPlace setup.cfg \
--replace " --no-cov-on-fail --cov-branch --cov=aiohttp_remotes --cov-report=term --cov-report=html" ""
'';
pythonImportsCheck = [ "aiohttp_remotes" ];
pytestFlagsArray = [