From bfec86dac43a19c1818b9170a9defe05a8c31c30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 23 Dec 2020 20:53:58 +0100 Subject: [PATCH] pythonPackages.pytest-mypy: Disable tests --- pkgs/development/python-modules/pytest-mypy/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/pytest-mypy/default.nix b/pkgs/development/python-modules/pytest-mypy/default.nix index 2d2a3264e741..9062284d5dfd 100644 --- a/pkgs/development/python-modules/pytest-mypy/default.nix +++ b/pkgs/development/python-modules/pytest-mypy/default.nix @@ -17,8 +17,13 @@ buildPythonPackage rec { }; nativeBuildInputs = [ setuptools_scm ]; + propagatedBuildInputs = [ pytest mypy filelock ]; + # does not contain tests + doCheck = false; + pythonImportsCheck = [ "pytest_mypy" ]; + meta = with lib; { description = "Mypy static type checker plugin for Pytest"; homepage = "https://github.com/dbader/pytest-mypy";