Skip to content

Commit 3964bde

Browse files
authored
Minor type annotation fix
1 parent 53b07dc commit 3964bde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_tla202x/__init__.py

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

6767
@classmethod
68-
def is_valid(cls, value: str) -> bool:
68+
def is_valid(cls, value: int) -> bool:
6969
"Returns true if the given value is a member of the CV"
7070
return value in cls.string
7171

0 commit comments

Comments
 (0)