Skip to content

Commit 6b88f80

Browse files
committed
Correct Missing Type Annotations #17
1 parent dca365e commit 6b88f80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_ble_file_transfer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from adafruit_ble.services import Service
2424

2525
try:
26-
from typing import Optional, List # pylint: disable=unused-import
26+
from typing import Optional, List
2727
from circuitpython_typing import WriteableBuffer
2828
except ImportError:
2929
pass
@@ -65,7 +65,7 @@ def __init__(self) -> None:
6565
fixed_length=False,
6666
)
6767

68-
def bind(self, service):
68+
def bind(self, service: Service) -> _bleio.PacketBuffer:
6969
"""Binds the characteristic to the given Service."""
7070
bound_characteristic = super().bind(service)
7171
return _bleio.PacketBuffer(

0 commit comments

Comments
 (0)