diff options
Diffstat (limited to 'glucometerutils/support/lifescan_binary_protocol.py')
-rw-r--r-- | glucometerutils/support/lifescan_binary_protocol.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/glucometerutils/support/lifescan_binary_protocol.py b/glucometerutils/support/lifescan_binary_protocol.py index 441226e..1cef4d9 100644 --- a/glucometerutils/support/lifescan_binary_protocol.py +++ b/glucometerutils/support/lifescan_binary_protocol.py @@ -24,8 +24,9 @@ _LINK_CONTROL = construct.BitStruct( ) -def LifeScanPacket(include_link_control): # pylint: disable=invalid-name - # type: (bool) -> construct.Struct +def LifeScanPacket( + include_link_control: bool, +) -> construct.Struct: # pylint: disable=invalid-name if include_link_control: link_control_construct = _LINK_CONTROL else: |