Skip to content

Commit 4b2ec3f

Browse files
committed
added Iterable and other changes per review comments
1 parent c29c339 commit 4b2ec3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_lps2x.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def add_values(
9595
cls.lsb[value] = lsb
9696

9797
@classmethod
98-
def is_valid(cls, value) -> bool:
98+
def is_valid(cls, value: int) -> bool:
9999
"""Returns true if the given value is a member of the CV"""
100100
return value in cls.string
101101

0 commit comments

Comments
 (0)