Skip to content

Commit

Permalink
python312Packages.mypy: run nixos-test-driver test in passthru
Browse files Browse the repository at this point in the history
Failing typing checks on the test-driver result in channel blockers.
  • Loading branch information
mweinelt committed Jun 5, 2024
1 parent ab897a8 commit 6791c1a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/python-modules/mypy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
filelock,
pytest-xdist,
pytestCheckHook,
nixosTests,
}:

buildPythonPackage rec {
Expand Down Expand Up @@ -118,6 +119,10 @@ buildPythonPackage rec {
"mypyc/test/test_run.py"
];

passthru.tests = {
inherit (nixosTests) nixos-test-driver;
};

meta = with lib; {
description = "Optional static typing for Python";
homepage = "https://www.mypy-lang.org";
Expand Down

0 comments on commit 6791c1a

Please sign in to comment.