fix: resolve pyright strict errors
lint / lint (push) Successful in 1m50s
test / unit (pull_request) Successful in 39s
test / integration (pull_request) Successful in 25s

This commit is contained in:
2026-06-09 02:15:18 +00:00
parent a397d37bbe
commit 3ceff1ac4f
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]