about summary refs log tree commit diff
path: root/pkgs/development/python-modules/dataclasses-json
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2023-06-07 15:08:24 +0200
committerGaetan Lepage <gaetan@glepage.com>2023-06-16 08:54:27 +0200
commit7f3ceea3716405028718914eb45c7647965763d5 (patch)
tree34de07e31bd2671a8307abce83f5a307eb76d61a /pkgs/development/python-modules/dataclasses-json
parent93581b0d1a3d5e45ae4289c6818c45b84970b065 (diff)
python310Packages.dataclasses-json: remove mypy linter
Diffstat (limited to 'pkgs/development/python-modules/dataclasses-json')
-rw-r--r--pkgs/development/python-modules/dataclasses-json/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/dataclasses-json/default.nix b/pkgs/development/python-modules/dataclasses-json/default.nix
index 12dfea0650a8b..13a0f8c94d471 100644
--- a/pkgs/development/python-modules/dataclasses-json/default.nix
+++ b/pkgs/development/python-modules/dataclasses-json/default.nix
@@ -4,7 +4,6 @@
 , typing-inspect
 , marshmallow-enum
 , hypothesis
-, mypy
 , pytestCheckHook
 }:
 
@@ -26,14 +25,14 @@ buildPythonPackage rec {
 
   nativeCheckInputs = [
     hypothesis
-    mypy
     pytestCheckHook
   ];
 
-  disabledTests = [
+  disabledTestPaths = [
+    # fails with the following error and avoid dependency on mypy
     # mypy_main(None, text_io, text_io, [__file__], clean_exit=True)
     # TypeError: main() takes at most 4 arguments (5 given)
-    "test_type_hints"
+    "tests/test_annotations.py"
   ];
 
   pythonImportsCheck = [ "dataclasses_json" ];