python310Packages.python-utils: remove mypy linter

This commit is contained in:
Sandro Jäckel 2023-06-07 13:34:25 +02:00 committed by Gaetan Lepage
parent 8801bbd608
commit 53806ec039

View File

@ -4,7 +4,6 @@
, fetchFromGitHub
, loguru
, pytest-asyncio
, pytest-mypy
, pytestCheckHook
, pythonOlder
}:
@ -24,8 +23,9 @@ buildPythonPackage rec {
};
postPatch = ''
sed -i '/--cov/d' pytest.ini
sed -i '/--mypy/d' pytest.ini
sed -i pytest.ini \
-e '/--cov/d' \
-e '/--mypy/d'
'';
passthru.optional-dependencies = {
@ -36,7 +36,6 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytest-asyncio
pytest-mypy
pytestCheckHook
] ++ passthru.optional-dependencies.loguru;