style: apply ruff format and fix lint issues in playoff modules
CI / Lint (push) Successful in 8s
CI / Test (push) Successful in 10s
CI / Build & Push (push) Successful in 22s

- Rename single-letter `l` loop variables in bracket_view to satisfy E741
- Drop unused `json` import from test_playoff_cache (F401/F811)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-04-19 12:48:42 -04:00
parent ebe770fecd
commit 930247b32f
8 changed files with 65 additions and 32 deletions
+13 -2
View File
@@ -1,8 +1,19 @@
from app.bracket_view import build_bracket_view
def _series(letter, top_abbrev, top_id, top_wins, bot_abbrev, bot_id, bot_wins,
rnd=1, winning_id=None, top_seed="D1", bot_seed="WC1"):
def _series(
letter,
top_abbrev,
top_id,
top_wins,
bot_abbrev,
bot_id,
bot_wins,
rnd=1,
winning_id=None,
top_seed="D1",
bot_seed="WC1",
):
return {
"seriesLetter": letter,
"playoffRound": rnd,