Skip to content

Commit 8c3cea5

Browse files
committed
lint fix
1 parent c37d4b8 commit 8c3cea5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

roborock/data/b01_q10/b01_q10_containers.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,7 @@ def _validate_customer_clean_layout(raw: bytes, count: int) -> bool:
245245
offset = _Q10_CUSTOMER_CLEAN_COUNT_SIZE
246246
for _ in range(count):
247247
minimum_bytes = (
248-
_Q10_CUSTOMER_CLEAN_ROOM_BLOCK_SIZE
249-
+ _Q10_CUSTOMER_CLEAN_NAME_BLOCK_SIZE
250-
+ _Q10_CUSTOMER_CLEAN_COUNT_SIZE
248+
_Q10_CUSTOMER_CLEAN_ROOM_BLOCK_SIZE + _Q10_CUSTOMER_CLEAN_NAME_BLOCK_SIZE + _Q10_CUSTOMER_CLEAN_COUNT_SIZE
251249
)
252250
if offset + minimum_bytes > len(raw):
253251
return False

0 commit comments

Comments
 (0)