worker_impl: style fixes (NFC)

This commit is contained in:
Sébastien Bourdeauducq 2024-02-27 10:39:37 +08:00
parent 7688f380b1
commit a8a5fc213b
1 changed files with 3 additions and 5 deletions

View File

@ -200,9 +200,7 @@ def examine(device_mgr, dataset_mgr, file):
name = name[:-1] name = name[:-1]
argument_mgr = TraceArgumentManager() argument_mgr = TraceArgumentManager()
scheduler_defaults = {} scheduler_defaults = {}
cls = exp_class( # noqa: F841 (fill argument_mgr) exp_class((device_mgr, dataset_mgr, argument_mgr, scheduler_defaults))
(device_mgr, dataset_mgr, argument_mgr, scheduler_defaults)
)
arginfo = OrderedDict( arginfo = OrderedDict(
(k, (proc.describe(), group, tooltip)) (k, (proc.describe(), group, tooltip))
for k, (proc, group, tooltip) in argument_mgr.requested_args.items() for k, (proc, group, tooltip) in argument_mgr.requested_args.items()