We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5395f6c commit 24abaafCopy full SHA for 24abaaf
src/rmqrcode/segments.py
@@ -1,7 +1,7 @@
1
from . import encoder
2
from .errors import DataTooLongError
3
-from .format.rmqr_versions import rMQRVersions
4
from .format.data_capacities import DataCapacities
+from .format.rmqr_versions import rMQRVersions
5
6
encoders = [
7
encoder.NumericEncoder,
@@ -155,10 +155,7 @@ def _find_best(self, data):
155
if self.dp[len(data)][mode][unfilled_length] < best:
156
best = self.dp[len(data)][mode][unfilled_length]
157
best_index = (len(data), mode, unfilled_length)
158
- return {
159
- "cost": best,
160
- "index": best_index
161
- }
+ return {"cost": best, "index": best_index}
162
163
def _reconstruct_path(self, best_index):
164
"""Reconstructs the path.
0 commit comments