Skip to content

Commit 72b56e6

Browse files
committed
Moved disable because local and remote pylint didn't agree
1 parent 36b5e46 commit 72b56e6

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

adafruit_ble_apple_media.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,8 @@ def _update(obj):
119119
(
120120
entity_id,
121121
attribute_id,
122-
flags, # pylint: disable=unused-variable
123-
) = struct.unpack_from(
124-
"<BBB", obj._buffer
125-
)
122+
flags, # pylint: disable=unused-variable
123+
) = struct.unpack_from("<BBB", obj._buffer)
126124
value = str(obj._buffer[3:length_read], "utf-8")
127125
obj._attribute_cache[(entity_id, attribute_id)] = value
128126

@@ -231,9 +229,9 @@ def __init__(self, **kwargs):
231229
def _send_command(self, command_id):
232230
if not self._command_buffer:
233231
self._command_buffer = bytearray(13)
234-
i = self._remote_command.readinto(
232+
i = self._remote_command.readinto( # pylint: disable=no-member
235233
self._command_buffer
236-
) # pylint: disable=no-member
234+
)
237235
if i > 0:
238236
self._supported_commands = list(self._command_buffer[:i])
239237
if command_id not in self._supported_commands:

0 commit comments

Comments
 (0)