Rename ambiguous loop var l to lb in portfolio monitor
Deploy / lint (push) Successful in 7s
Deploy / test (push) Failing after 18s
Deploy / deploy (push) Has been skipped

Fixes ruff E741 in the lookbacks comprehension of _portfolio_monitor,
which failed the CI lint step and blocked the deploy.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-04 08:08:44 +02:00
co-authored by Claude Opus 4.8
parent cfca59a2d4
commit 41470c32ec
+2 -2
View File
@@ -1865,8 +1865,8 @@ def _portfolio_monitor(
for s in PORTFOLIO_MONITOR_STRATEGIES for s in PORTFOLIO_MONITOR_STRATEGIES
], ],
"lookbacks": [ "lookbacks": [
{"lookback": l["lookback"], "label": l["label"]} {"lookback": lb["lookback"], "label": lb["label"]}
for l in PORTFOLIO_MONITOR_LOOKBACKS for lb in PORTFOLIO_MONITOR_LOOKBACKS
], ],
"runs": rows, "runs": rows,
"note": ( "note": (