fix: resolve pyright strict errors

This commit is contained in:
2026-06-09 02:15:18 +00:00
committed by didericis
parent 4e570e3e2b
commit d38432f640
10 changed files with 23 additions and 27 deletions
@@ -71,11 +71,6 @@ def _make_bottle(
return bottle
def _exec_scripts(bottle: MagicMock) -> list[str]:
"""All script strings passed to bottle.exec, in call order."""
return [c.args[0] for c in bottle.exec.call_args_list]
def _exec_users(bottle: MagicMock) -> list[str]: # type: ignore
"""user= kwarg from each bottle.exec call, in order."""
return [c.kwargs.get("user", "node") for c in bottle.exec.call_args_list]