python312Packages.mypy: run nixos-test-driver test in passthru
Failing typing checks on the test-driver result in channel blockers.
This commit is contained in:
parent
ab897a8c62
commit
6791c1a717
@ -26,6 +26,7 @@
|
|||||||
filelock,
|
filelock,
|
||||||
pytest-xdist,
|
pytest-xdist,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
|
nixosTests,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -118,6 +119,10 @@ buildPythonPackage rec {
|
|||||||
"mypyc/test/test_run.py"
|
"mypyc/test/test_run.py"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
inherit (nixosTests) nixos-test-driver;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Optional static typing for Python";
|
description = "Optional static typing for Python";
|
||||||
homepage = "https://www.mypy-lang.org";
|
homepage = "https://www.mypy-lang.org";
|
||||||
|
Loading…
Reference in New Issue
Block a user