Skip to content

Commit 8451d8b

Browse files
committed
resolves #8 Missing Type Annotations
1 parent 8e4fbc8 commit 8451d8b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

adafruit_ble_midi.py

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

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

0 commit comments

Comments
 (0)