Skip to content

Commit 24abaaf

Browse files
committed
chore: Apply formatter
1 parent 5395f6c commit 24abaaf

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/rmqrcode/segments.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from . import encoder
22
from .errors import DataTooLongError
3-
from .format.rmqr_versions import rMQRVersions
43
from .format.data_capacities import DataCapacities
4+
from .format.rmqr_versions import rMQRVersions
55

66
encoders = [
77
encoder.NumericEncoder,
@@ -155,10 +155,7 @@ def _find_best(self, data):
155155
if self.dp[len(data)][mode][unfilled_length] < best:
156156
best = self.dp[len(data)][mode][unfilled_length]
157157
best_index = (len(data), mode, unfilled_length)
158-
return {
159-
"cost": best,
160-
"index": best_index
161-
}
158+
return {"cost": best, "index": best_index}
162159

163160
def _reconstruct_path(self, best_index):
164161
"""Reconstructs the path.

0 commit comments

Comments
 (0)