summaryrefslogtreecommitdiffstats
path: root/glucometerutils/support/lifescan_binary_protocol.py
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2020-03-27 16:13:50 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-03-27 16:33:17 +0100
commit7d153624c3a3543f0b8f906144e35105a5d48801 (patch)
tree7e194063ba97250403bc6380afabc83e4fa9b8e0 /glucometerutils/support/lifescan_binary_protocol.py
parentBring up command line error as we only support Python 3.7+ now. (diff)
downloadglucometerutils-7d153624c3a3543f0b8f906144e35105a5d48801.tar
glucometerutils-7d153624c3a3543f0b8f906144e35105a5d48801.tar.gz
glucometerutils-7d153624c3a3543f0b8f906144e35105a5d48801.tar.bz2
glucometerutils-7d153624c3a3543f0b8f906144e35105a5d48801.tar.lz
glucometerutils-7d153624c3a3543f0b8f906144e35105a5d48801.tar.xz
glucometerutils-7d153624c3a3543f0b8f906144e35105a5d48801.tar.zst
glucometerutils-7d153624c3a3543f0b8f906144e35105a5d48801.zip
Diffstat (limited to 'glucometerutils/support/lifescan_binary_protocol.py')
-rw-r--r--glucometerutils/support/lifescan_binary_protocol.py5
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: