Skip to content

Commit 8b2a1c2

Browse files
committed
chore: Apply formatter
1 parent c972c57 commit 8b2a1c2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/rmqrcode/segments.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,13 @@ def _compute_costs(self, data):
108108
continue
109109

110110
if new_mode == mode:
111-
cost, new_length = self._compute_new_state_without_mode_changing(data[n], new_mode, unfilled_length)
111+
cost, new_length = self._compute_new_state_without_mode_changing(
112+
data[n], new_mode, unfilled_length
113+
)
112114
else:
113-
cost, new_length = self._compute_new_state_with_mode_changing(data[n], new_mode, unfilled_length)
115+
cost, new_length = self._compute_new_state_with_mode_changing(
116+
data[n], new_mode, unfilled_length
117+
)
114118

115119
if self.dp[n][mode][unfilled_length] + cost < self.dp[n + 1][new_mode][new_length]:
116120
self.dp[n + 1][new_mode][new_length] = self.dp[n][mode][unfilled_length] + cost

0 commit comments

Comments
 (0)