mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 16:53:40 +00:00
python310Packages.python-utils: remove mypy linter
This commit is contained in:
parent
8801bbd608
commit
53806ec039
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user