0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 22:20:30 +03:00
nixpkgs/nixos/lib/test-driver
Emily ff31b814b6 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)
2024-11-27 22:09:20 +00:00
..
test_driver nixos/lib/test-driver: fix linting after compatibility clean‐up 2024-11-27 22:09:20 +00:00
default.nix nixos/lib/test-driver: Prevent unnecessary rebuilds 2024-06-14 20:42:16 +02: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: adjust to ruff changes 2024-05-22 11:29:02 +02:00
shell.nix nixos-test-driver: avoid top-level with in shell.nix 2024-07-29 19:46:18 +02:00