Skip to content

Commit 7c52419

Browse files
committed
Annotate services/standard/__init__.py
1 parent 9bffcc3 commit 7c52419

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_ble/services/standard/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class AppearanceCharacteristic(StructCharacteristic):
2727
# pylint: disable=too-few-public-methods
2828
uuid = StandardUUID(0x2A01)
2929

30-
def __init__(self, **kwargs):
30+
def __init__(self, **kwargs) -> None:
3131
super().__init__("<H", **kwargs)
3232

3333

@@ -72,7 +72,7 @@ class CurrentTimeService(Service):
7272
"""A tuple of location information: (timezone, dst_offset)"""
7373

7474
@property
75-
def struct_time(self):
75+
def struct_time(self) -> time.struct_time:
7676
"""The current time as a `time.struct_time`. Day of year and whether DST is in effect
7777
are always -1.
7878
"""

0 commit comments

Comments
 (0)