nixpkgs/nixos/lib/test-driver
Emily 8221c09ff5
nixos/lib/test-driver: fix linting after compatibility clean‐up
The previous commit removed the handling of `dict` arguments, but
didn’t adjust the type, leading to the following type-checking error:

    test_driver/driver.py:216: error: Argument 1 to "NixStartScript" has incompatible type "str | dict[Any, Any]"; expected "str"  [arg-type]

It also left an unused import that Ruff is unhappy about:

    build/lib/test_driver/driver.py:11:22: F401 [*] `colorama.Fore` imported but unused
    …
    build/lib/test_driver/driver.py:11:28: F401 [*] `colorama.Style` imported but unused

Fixes: 71306e6b36
(cherry picked from commit d490680530)
(cherry picked from commit ff31b814b6)
2024-11-30 15:11:39 +01:00
..
test_driver nixos/lib/test-driver: fix linting after compatibility clean‐up 2024-11-30 15:11:39 +01:00
default.nix nixos/test-driver: use ruff format in place of black 2024-11-22 10:49:31 -05:00
extract-docstrings.py nixos/test-driver: apply ruff fixes & suggestions 2023-09-30 10:31:22 +02:00
nixos-test-driver-docstrings.nix integration test driver: Auto-generate integration test driver's machine 2023-07-10 08:51:52 +02:00
pyproject.toml nixos/test-driver: target python 3.12 2024-11-22 10:49:32 -05:00
shell.nix nixos-test-driver: avoid top-level with in shell.nix 2024-07-29 19:46:18 +02:00