diff options
| author | Emily <vcs@emily.moe> | 2024-11-25 17:12:00 +0000 |
|---|---|---|
| committer | Vladimír Čunát <v@cunat.cz> | 2024-11-30 15:11:39 +0100 |
| commit | 8221c09ff5745fedf86feb8f4de30e75ce6cd037 (patch) | |
| tree | 7a4e184aed2b919ef2055d85bfb8e0c32ce18d5f /pkgs/development/python-modules/rangehttpserver | |
| parent | 9837d6fa7f690dc99f5c75c0f144d027adb52425 (diff) | |
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: 71306e6b36657f3987214611ec863a891334bf5a
(cherry picked from commit d490680530a81f77bdd248cbc99aa4878d6d97c7)
(cherry picked from commit ff31b814b62c760b1abbedc43d9b34d2dc75b351)
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
