Skip to content

Commit bf07720

Browse files
committed
Fix Ruff lambda lint in strategy runtime test
1 parent d952f91 commit bf07720

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_strategy_runtime.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,9 @@ def evaluate(self, ctx):
235235
captured["market_data"] = dict(ctx.market_data)
236236
return StrategyDecision()
237237

238-
loader = lambda *_args, **_kwargs: None
238+
def loader(*_args, **_kwargs):
239+
return None
240+
239241
runtime = strategy_runtime_module.LoadedStrategyRuntime(
240242
entrypoint=FakeEntrypoint(),
241243
runtime_adapter=StrategyRuntimeAdapter(status_icon="🐤"),

0 commit comments

Comments
 (0)