Skip to content

Commit f1cff36

Browse files
author
autoruff
committed
fixup: pair-plus Python code fixed using Ruff
1 parent 7e0ae81 commit f1cff36

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

tests/test_pairing.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
)
104104
}
105105

106+
106107
def inc_seq_id(seq_id: bytes | None) -> bytes:
107108
"""Increment sequence id."""
108109
if seq_id is None:
@@ -164,9 +165,7 @@ def write(self, data: bytes) -> None:
164165
if log is None and self._first_response is not None:
165166
log, ack, response = self._first_response.get(data, (None, None, None))
166167
if log is None:
167-
resp = PARTLY_RESPONSE_MESSAGES.get(
168-
data[:24], (None, None, None)
169-
)
168+
resp = PARTLY_RESPONSE_MESSAGES.get(data[:24], (None, None, None))
170169
if resp is None:
171170
_LOGGER.debug("No msg response for %s", str(data))
172171
return

0 commit comments

Comments
 (0)