diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-06-07 15:08:24 +0200 |
---|---|---|
committer | Gaetan Lepage <gaetan@glepage.com> | 2023-06-16 08:54:27 +0200 |
commit | 7f3ceea3716405028718914eb45c7647965763d5 (patch) | |
tree | 34de07e31bd2671a8307abce83f5a307eb76d61a /pkgs/development/python-modules/dataclasses-json | |
parent | 93581b0d1a3d5e45ae4289c6818c45b84970b065 (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.nix | 7 |
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" ]; |