We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c29c339 commit 4b2ec3fCopy full SHA for 4b2ec3f
1 file changed
adafruit_lps2x.py
@@ -95,7 +95,7 @@ def add_values(
95
cls.lsb[value] = lsb
96
97
@classmethod
98
- def is_valid(cls, value) -> bool:
+ def is_valid(cls, value: int) -> bool:
99
"""Returns true if the given value is a member of the CV"""
100
return value in cls.string
101
0 commit comments