Skip to content

Commit 3f4332b

Browse files
author
Bob Abeles
committed
Another CI formatting issue
1 parent 892d89e commit 3f4332b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

py/maketranslationdata.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,9 @@ def est_net_savings(s, occ):
302302
# The set of candidates is pruned by estimating their relative value and
303303
# picking to top 100 scores.
304304

305-
counter = sorted(
306-
counter.items(), key=lambda x: math.log(x[1]) * len(x[0]), reverse=True
307-
)[:100]
305+
counter = sorted(counter.items(), key=lambda x: math.log(x[1]) * len(x[0]), reverse=True)[
306+
:100
307+
]
308308
scores = sorted(
309309
((s, -est_net_savings(s, occ)) for (s, occ) in counter if occ > 1),
310310
key=lambda x: x[1],

0 commit comments

Comments
 (0)