Skip to content

Commit 21ff015

Browse files
committed
update formatting with black
1 parent 65a90a5 commit 21ff015

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

statsapi/__init__.py

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1348,8 +1348,20 @@ def standings(
13481348
for div in divisions.values():
13491349
standings += div["div_name"] + "\n"
13501350
if include_wildcard:
1351-
standings += "{:^4} {:<21} {:^3} {:^3} {:^4} {:^4} {:^7} {:^5} {:^4}\n".format(
1352-
*["Rank", "Team", "W", "L", "GB", "(E#)", "WC Rank", "WC GB", "(E#)",]
1351+
standings += (
1352+
"{:^4} {:<21} {:^3} {:^3} {:^4} {:^4} {:^7} {:^5} {:^4}\n".format(
1353+
*[
1354+
"Rank",
1355+
"Team",
1356+
"W",
1357+
"L",
1358+
"GB",
1359+
"(E#)",
1360+
"WC Rank",
1361+
"WC GB",
1362+
"(E#)",
1363+
]
1364+
)
13531365
)
13541366
for t in div["teams"]:
13551367
standings += "{div_rank:^4} {name:<21} {w:^3} {l:^3} {gb:^4} {elim_num:^4} {wc_rank:^7} {wc_gb:^5} {wc_elim_num:^4}\n".format(

0 commit comments

Comments
 (0)