diff options
Diffstat (limited to 'pkgs/development/python-modules/mypy/extensions.nix')
-rw-r--r-- | pkgs/development/python-modules/mypy/extensions.nix | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/pkgs/development/python-modules/mypy/extensions.nix b/pkgs/development/python-modules/mypy/extensions.nix index e8622b84eb7c..3282a6b6e863 100644 --- a/pkgs/development/python-modules/mypy/extensions.nix +++ b/pkgs/development/python-modules/mypy/extensions.nix @@ -1,10 +1,11 @@ -{ lib -, fetchFromGitHub -, buildPythonPackage -, typing -, pytestCheckHook -, pythonAtLeast -, pythonOlder +{ + lib, + fetchFromGitHub, + buildPythonPackage, + typing, + pytestCheckHook, + pythonAtLeast, + pythonOlder, }: buildPythonPackage rec { @@ -21,22 +22,16 @@ buildPythonPackage rec { propagatedBuildInputs = lib.optional (pythonOlder "3.5") typing; # make the testsuite run with pytest, so we can disable individual tests - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pytestFlagsArray = [ - "tests/testextensions.py" - ]; + pytestFlagsArray = [ "tests/testextensions.py" ]; disabledTests = lib.optionals (pythonAtLeast "3.11") [ # https://github.com/python/mypy_extensions/issues/24 "test_typeddict_errors" ]; - pythonImportsCheck = [ - "mypy_extensions" - ]; + pythonImportsCheck = [ "mypy_extensions" ]; meta = with lib; { description = "Experimental type system extensions for programs checked with the mypy typechecker"; |