Skip to content

Commit 8e4fbc8

Browse files
committed
resolves #8 Missing Type Annotations
1 parent 080d648 commit 8e4fbc8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adafruit_ble_midi.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ def __init__(self) -> None:
4747
fixed_length=False,
4848
)
4949

50-
def bind(self, service: MIDIService) -> _bleio.PacketBuffer:
50+
def bind( # pylint:disable=used-before-assignment
51+
self, service: MIDIService
52+
) -> _bleio.PacketBuffer:
5153
"""Binds the characteristic to the given Service."""
5254
bound_characteristic = super().bind(service)
5355
return _bleio.PacketBuffer(bound_characteristic, buffer_size=4)

0 commit comments

Comments
 (0)