about summary refs log tree commit diff
path: root/pkgs/development/tools/refurb/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/refurb/default.nix')
-rw-r--r--pkgs/development/tools/refurb/default.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/development/tools/refurb/default.nix b/pkgs/development/tools/refurb/default.nix
index f98f656d4dd16..c413a57a7caa2 100644
--- a/pkgs/development/tools/refurb/default.nix
+++ b/pkgs/development/tools/refurb/default.nix
@@ -15,6 +15,11 @@ python3Packages.buildPythonApplication rec {
     hash = "sha256-e/gKBgbtjO2XYnAIdHDoVJWyP6cyvsuIFLrV/eqjces=";
   };
 
+  postPatch = ''
+    # remove --cov* options provided to pytest
+    sed -i '/^addopts = "--cov/d' pyproject.toml
+  '';
+
   nativeBuildInputs = with python3Packages; [
     poetry-core
   ];
@@ -41,9 +46,9 @@ python3Packages.buildPythonApplication rec {
     pytestCheckHook
   ];
 
-  postPatch = ''
-    sed -i "/^addopts/d" pyproject.toml
-  '';
+  disabledTests = [
+    "test_checks" # broken because new mypy release added new checks
+  ];
 
   pythonImportsCheck = [
     "refurb"