resolves #8 Missing Type Annotations

This commit is contained in:
Thomas Franks 2022-08-24 10:18:18 -04:00
parent 080d648c5f
commit 8e4fbc82ce

View file

@ -47,7 +47,9 @@ class _MidiCharacteristic(ComplexCharacteristic):
fixed_length=False,
)
def bind(self, service: MIDIService) -> _bleio.PacketBuffer:
def bind( # pylint:disable=used-before-assignment
self, service: MIDIService
) -> _bleio.PacketBuffer:
"""Binds the characteristic to the given Service."""
bound_characteristic = super().bind(service)
return _bleio.PacketBuffer(bound_characteristic, buffer_size=4)